In: Computer Science
a) (6 -4) * 20 - (9 + 1) Place the answer in the AX register
b) 1000 - 4 * (3 *32) Place the answer in the AX register
Please find the answer below.
Please do comments in case of any issue. Also, don't forget to rate
the question. Thank You So Much.
mov al,6
mov cl,4
sub al,cl ; get 6-4
mov bl,20
mul bl ; get (6-4)*20
sub al,9 ; get (6-4)*20 - 9
sub al,1 ; get (6-4)*20 - 9
output
2)
mov bx,1000
mov ax,4
mov cx,3
mul cl ; get 4*3
mov cx,32
mul cl ; get 4*3*32
sub bx,ax
mov ax,bx