Write an assembly language program that will implement the following: If ( (AX >=BX) || (CX < DX) ) goto LoopA Else go to LoopB..
1). ANSWER :
GIVENTHAT :
Write an assembly language program
CMP AX, BX
; comapre Ax to BX
JGE LoopA
; jump to LoopA if AX is greater than or equal
to BX
CMP CX, DX
; compare CX to BX
JL LoopA
; jump to LoopA if CX is less than DX
LoopB:
; LoopB is reached when both
conditions fails
LoopA:
; LoopA
Get Answers For Free
Most questions answered within 1 hours.