Question: b. Analyse the given program illustrate in Figure Q2 (b), then create a flowchart and specify the program's purpose. 1 org 100h 23456780 9

b. Analyse the given program illustrate in Figure Q2 (b), then create a flowchart and specify the program's purpose. 1 org 100h 23456780 9 10 11 12 13 14 zero: mov al, 5 mov bl, 10 add bl, al sub bl, 1 mov cx, 8 print: mov ah, 2 mov dl, '0' test bl, 10000000b jz zero mov dl, '1' int 21h 15 shl bl, 1 16 loop print 17 18 mov dl, 'b' 19 int 21h 20 21 mov ah, 0 22 int 16h 22 23 24 ret Figure Q2 (b) (CO1:PO1 - 5 Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
