10. Complete the table below only using hexadecimal numbers:
AL CODE |
EBX |
EAX |
[EAX] |
mov eax, 2567922 |
|||
mov ebx, 2567922h |
|||
mov [eax], eax |
|||
mov ebx, [eax] |
10. Complete the table below only using hexadecimal numbers: AL CODE EBX EAX [EAX] mov eax,...
13. Complete the table below. Use only hexadecimal numbers only EBX STACK AL CODE mov ax, 5D6h push ax pushw 3467h mov ebx,3ABCDOh push ebx. DoD ax pop ebx
13. Complete the table below. Use only hexadecimal numbers only EBX STACK AL CODE mov ax, 5D6h push ax pushw 3467h mov ebx,3ABCDOh push ebx. DoD ax pop ebx
Is this right? 15. Complete the following table in hexadecimal numbers only: INSTRUCTIONS eax ebx BYTES: 9 10 11 12 13 14 15 16 17 mov eax, 2ACB16h 002ACB16h mov ebx, 9d 002ACB16h 9h add ebx, 1d 002ACB16h Ah mov [ebx], eax 002ACB16h Ah 1 6 C B 2 A 0 0 add [ebx], ebx 002ACB16h Ah 2 0 C B 2 A 0 0 add eax, ebx 002ACB20h Ah 2 0 C B 2 A 0 0
Assume no syntax errors and all partial programs are
correct and can be run. No numbers with a minus sign is
accepted.
13. Complete the table below only using hexadecimal numbers: AL INSTRUCTIONS ebx eaX mov eax, 2 mov ebx 7D12Eh mov [eax], ebx mov eax, 4 mov ebx, 568923h mov [eax], ebx mov ebx, 3 mov [eax], ebx
1. Assume that you are given values in eax, ebx, ecx. Write an assembly code that does the following: eax = (ecx + edx ) - (eax + ebx) 2. Write a piece of code that copies the number inside al to ch. Example: Assume that Initially eax = 0x15DBCB19. At the end of your code ecx = 0x00001900. Your code must be as efficient as possible. 3. You are given eax = 0x5. Write one line of code in...
4. Complete the following table using only hexadcimal numbers in the table P=((((2+7+5) *743) *7-1)*7 + 4) *7-2 ASSEMBLY LANGUAGE PSEUDO-CODE AL PSEUDO-CODE PEAXX mov x7 mov p. EAX:= P mov eax, p mul x add eax,5 mov p. eax mov eax. p mul x add eax, 3 mov p, eax EAX:= EAX + 5 P := P*X + 3 EAX:= P EAX: EAX*X EAX:= EAX + 3 P:= EAX
Given the following data and code, what is the hexadecimal value of register eax .data array1 WORD 10 DUP(?), 0, 0 .code mov eax, SIZEOF array1 a. 20 b. 21 c. 22 d. 24
1. How many bits are moved in the instruction as shown below? mov al, bl 2. how many bits are moved in the instruction as shown below? mov ax, bx 3. How many bits are moved in the instruction as shown below? mov eax, ebx 4. How many bits are moved in the instruction as shown below? mov r8, r9 5.How do you reference r9 as 8 bits?
rnte a P instruction with indirect addressing, and call the ReadChar ein AL.)(10 pts.) BYTE named myString. Use the LOO edure from the book's link library- (ReadChar-returns its valu 50. Code a PROC declaration for a procedure named MySub. Use the USES operator to preserve the EAX and EBX registers. 51. Draw a flowchart that corresponds to the following code: (6 pts.) mov ecx, LENGTHOF array mov eax, 0 mov esi, OFFSET array L1: add eax, [esi] add esi, TYPE...
Below is the disassembled code. PLease help me to defuse the binary bomb phase_4 so the right input should be 6 numbers with a certain pattern 08048cdb <phase_4>: 8048cdb: 53 push %ebx 8048cdc: 83 ec 38 sub $0x38,%esp 8048cdf: 8d 44 24 18 lea 0x18(%esp),%eax 8048ce3: 89 44 24 04 mov %eax,0x4(%esp) 8048ce7: 8b 44 24 40 mov 0x40(%esp),%eax 8048ceb: 89 04 24 mov %eax,(%esp) 8048cee: e8 11 07 00 00 call 8049404 <read_six_numbers> 8048cf3: 83 7c 24 18 00 cmpl...
5. Assume DS-1000, CS- 800, Ax-3412H, and BX-0200H. For the following x86 assembly code: MOV [BX +1000H], AX a) Translate the assembly code to machine code (in Hex). The opcode of MOV instruction is 100010. b) Show the values of AX, BX, and new values in memory, if there are, in the following figure c) (10 points) AFTER executing the instruction. (5 points) What is the memory address accessed by the instruction, assuming real mode operation? Show it in the...