Question: Using the following format create and Assembly Language Programming code that implements a for loop, a while loop, a do-while loop, an if statement, and
Using the following format create and Assembly Language Programming code that implements a for loop, a while loop, a do-while loop, an if statement, and a switch case *I have try many things and nothing helps
.MODEL SMALL
.STACK
.DATA
.CODE
start:
MOV AX, @DATA
MOV DS, AX
; your code goes here
mov al, 0h
mov bl, 1h
cmp al, bl
jz NEXT
mov al, 2h
NEXT:
MOV AX, 4C00h
INT 21h
END Start
*this format is just an example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
