Question: a) (6p) Run the following program and show the memory locations 0220H and 0221H if IBM PC with 8088 CPU is keyed in. ORG 220H

 a) (6p) Run the following program and show the memory locations

a) (6p) Run the following program and show the memory locations 0220H and 0221H if IBM PC with 8088 CPU" is keyed in. ORG 220H BUFFER DB 15, 16 DUP (OFFH) 0220H 0221H and for the code: MOV AX, OAH MOV DX, OFFSET BUFFER INT 21H b) (6p) Complete the following program using a look-up table and XLAT to retrieve the y value in the equation: y =x2+2x+ 5 for x values of 0 to 9. ; data segment Y TABLE X_VAL Y_VAL ; code segment MOV BX, MOV AL, XLAT MOV AL DB DB DB c) (p) Complete the following program to monitor port A (of 8255) for a temperature of 100. If it is equal, it should be saved in register BL. Also, send AAH to port B and 55H to port C. BA8 255 EQU 68H :The base address of 8255 MOV AL, OUT BA8 255+3, AL BACK: IN AL, CMP AL, BACK MOV BL, AL MOV AL, OUT AL NOT AL OUT AL

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!