Question: 13. Assemble the following instructions by hand and write the hexadecimal machine language bytes for each labeled instruction. Assume that val1 is located at offset
13. Assemble the following instructions by hand and write the hexadecimal machine language bytes for each labeled instruction. Assume that val1 is located at offset 0. Where 16-bit values are used, the bytes must appear in little endian order:
.data val1 BYTE 5 val2 WORD 256
.code mov ax,@data mov ds,ax ; a.
mov al,val1 ; b.
mov cx,val2 ; c.
mov dx,OFFSET val1 ; d.
mov dl,2 ; e.
mov bx,1000h ; f.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
