subject

Suppose that you are given the following program (with memory addresses shown on the left). What hexadecimal value does EIP hold immediately after "inc EAX" has executed?

.data
0x100 x DWORD 153461
0x104 y BYTE 37
0x105 z BYTE 90

.code
main PROC
0x12 push x
0x17 mov AH, y
0x1C mov AL, z
0x21 call someProcedure
0x26 inc EAX
0x2B mov EBX, z
0x30 xor EAX, EBX
0x35 exit
main ENDP
END MAIN

(2) The following instruction will increment the stack pointer (ESP) by how many bytes?

ret 11

Answer

(3)True or F The following two instructions are equivalent.

ret

ret 4

(4) When passing parameters to a procedure on the stack, it is usually okay to change the value of the EBP register within the procedure. True False

(5) The RET instruction (without operands) will pop how many bytes off the stack? 4 16 8 2

(6)

Given the following register states, and using Base Indexed Addressing, which of the following lines of code will move the 11th element of the list array (of DWORDs) to the EAX register?

EDX register contans the address of the first element of list.
ESI register contains the address of the eleventh element of list.
EBX register contains the value 40,

mov eax, [esi]
mov eax, list[esi]
mov eax, [edx + ebx]
mov eax, list[ebx]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:30
Think about the poem "old ironsides." drag the subject of the poem to the subject box and the theme to the theme box. then decide whether each excerpt from the poem supports the subject or the theme.
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
You know the right answer?
Suppose that you are given the following program (with memory addresses shown on the left). What hex...
Questions
question
Mathematics, 25.03.2021 04:00
question
Mathematics, 25.03.2021 04:00
question
World Languages, 25.03.2021 04:00
Questions on the website: 13722363