Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started