Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Microprocessors Question 4) (40 p) Short Answer and Coding Questions a) (6p) Run the following program and show the memory locations 0220H and 0221H if
Microprocessors
Question 4) (40 p) Short Answer and Coding Questions 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 DB X_VAL DB Y VAL ; code segment MOV BX, MOV AL, XLAT DB MOV AL c) (p) Complete the following program to monitor port A (of 8253) 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. BA8255 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 ALStep 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