Question: ( c ) Write the machine language code for following program. . MODEL SMALL . CODE START: MOV AX , 3 2 MOV DS ,
c Write the machine language code for following program.
MODEL SMALL
CODE
START: MOV AX
MOV DS AX
MOV CXH
AGAIN: IN ALH
ADD ALH
JNC L
MOV BL AL
OUT H AL
L: DEC CX
JNZ AGAIN
JMP START
END
Machine Language Coding Template
MOV Move
tableRegisterMemory tofrom Register,mod reg rmAddlow,Addhigh,,Immediate to RegisterMemorymod rmdata,datad wImmediate to Register, reg,data,datalif wMemory to Accumulator,Addlow,Addhigh,,,Accumulator to Memory,Addlow,Addhigh,,,RegisterMemory to Segment Register,mod SR Segment Register to RegisterMemorymod SR rm
ADD Addition
tableRegisterMemory with Register,mod reg Im RegisterMemorymoddata,dataif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
