Question: Consider the MASM code listing shown below and answer the questions that follow. A;.MODEL MEDIUM: : .STACK : . DATA : . CODE :. STARTUP

Consider the MASM code listing shown below and answer the questions that follow. A;.MODEL MEDIUM: : .STACK : . DATA : . CODE :. STARTUP ?? 0017 B3 0019 B2 30 :: line:: :mov dl,0 001B B4 02 :: char:: ;mov ah, 02h print ASCII dl: 001D:CD 21 :..int 021h 001F FE C2 E inc dl; 0021::3A D3 0023::75 F6 :cmp dl,bl :jnz char 0025::52 0026B4 02 0028B2 0D: 002A CD 21 : 002C B2 0A. :push dx :mov ah, 02h :mov dl,13 CR int 021h mov dl,10 ; LF 002E.CD 21 : 0030::5A ;int 021h pop dx 0031;:Fe c3: 0033.80 FB 36; 0036 75 E1 inc bl cmp bl,'6" jnz line EXIT END N a m e char . line .' Type L Nea L Near Value 001B 0019: Name the highlighted sections of code [A to F] Predict the run time display of the code and explain your reasoning Explain the purpose of the push and pop commands found in the code. Explain how you would make the code repeat the output display 10 times
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
