Solve Write in Assembly the initialization of i and j showin

Solve: Write in Assembly, the initialization of i and j, showing their locations, by the given condition of cblock.

Write in Assembly language the initialization for the variables i and j (show the locations for i and j if the CBLOCK initialize in 0x340)

Solution

section   .text
global _start ;must be declared for using gcc

_start:   ;tell linker entry point
mov i, [num1]
mov j, [num2]
cmp CBLOCK \'0x20\'
JMP PRINT
PRINT
   mov ax i
   int 21h
   mov ax j
   int 21h

Solve: Write in Assembly, the initialization of i and j, showing their locations, by the given condition of cblock. Write in Assembly language the initializatio

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site