Question: Given the following data segment values stored in the memory at the given locations. Write an assembly code that stores the values given in the

Given the following data segment values stored in the memory at the given locations. Write an assembly code that stores the values given in the higher part of register AX, BX, CX and DX. The sequence of storing should be in order for example ( 0Ah will go to AH, 112 will go to BH ), perform this using only direct addressing mode.

note: continuo the code below

.386

.model flat,stdcall

.stack 4096

ExitProcess proto,dwExitCode:dword

.data

ORG 4000h

Data1 DB 0Ah, 112, 14h, 14

.code

main proc

; here you need to write your code

call ExitProcess

main endp

end main

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!