What does Flow Control Statement does?
What are the 2 types Flow Control Statement?
What does Entry Control checks?
What does Exit Control checks?
List out examples for Entry Control check?
List out examples for Exit Control check?
What does Flow Control allows?
What method that assembly language provides for flow control? ( 2 )
List out 2 kinds of Jump statements
How to create a program that loops the asterik ( * ) 80 times?
.model small
.stack 100h
.code
MAIN PROC
mov cx, 80 ; set counter to 80
mov ah,2 ; DOS function to display
mov dl, “*” ; character to display
top: int 21h ; call DOS interrupt
loop top ; repeat
mov ah,4Ch ; DOS termination
int 21h ; return to DOS MAIN ENDP end MAINtop - is a variable name that
What is conditional jumps?
What is unconditional jumps?
How to create conditional jumps
.model small
.stack 100h
.code
MAIN PROC
mov bl, 80 ; set register to 80
mov ah,2 ; DOS function to display
mov dl,”*” ; character to display
top : int 21h ; call DOS Interrupt
dec bl ; decrease BL by 1
cmp bl,0 ; check if BL is zero
jne top ; repeat if not equal to 0
mov ah, 4Ch ; DOS terminate
int 21h l return to DOS MAIN ENDP END MAINWhat is the command for equal to?