Question: The following program shows how to define an interrupt and call it to display a message string. SEGMENT CSEG START: : set DS to 0

 The following program shows how to define an interrupt and call
it to display a message string. SEGMENT CSEG START: : set DS

The following program shows how to define an interrupt and call it to display a message string. SEGMENT CSEG START: : set DS to 0 MOV AX, 0 MOV DS, AX MOV AX, OFFSET UNEQU MOV SI, 0190H MOV (SI). AX MOV AX, INTSEG MOV SI, 0192H MOV (SI), AX INT 33H ENDS SEGMENT INTSEG UNEQU: MOV AX, DSEG : link DS to DSEG MOV DS, AX MOV DX,OFFSET MSG ; display string from MSG MOV AH,09H INT 21H MOV AX, 4COOH return control to DOS INT 21H RET ENDS DSEG SEGMENT MSG DB This is interrupt type ??H.' ODh.0Ah DB ENDS END START 1. The interrupt type number in the instruction INT 33H in the CSEG segment is not correct. Determine the correct type number of that interrupt. 2. The message string can NOT be properly displayed. What changes are required to rectify the problem? 3. If the correct interrupt type number in part (1) is to be changed to 50H, modifications have to be made to the program. Write instructions needing modification and describe how to modify the code. Add an instruction in the CSEG segment to store the segment value of the INTSEG segment in BX

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!