The following data segment starts at memory address 0x2300 (hexadecimal) .data p
ID: 3712193 • Letter: T
Question
The following data segment starts at memory address 0x2300 (hexadecimal)
.data
printString BYTE "Assembly is fun",0
moreBytes BYTE 48 DUP(0)
dateIssued DWORD ?
dueDate DWORD ?
elapsedTime WORD ?
What is the hexadecimal address of dueDate?
Explanation / Answer
size of => printString BYTE "Assembly is fun",0 is 16 size of => moreBytes BYTE 48 DUP(0) is 48 size of => dateIssued DWORD ? is 4 total size offset in decimal is 16+48+4 = 68 68 in hexadecimal is 44 so, address of dueDate is 0x2300 + 0x44 => 0x2344 Answer: D. 0x2344
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.