Question: . DATA VAL 1 DW 1 Alpha 3 0 Eta VAL 2 DW 1 9 8 0 H VAL 3 DW 2 0

.DATA
VAL1 DW 1\Alpha 30\Eta
VAL2 DW 1980H
VAL3 DW 20B5H
REST DW 2 DUP (?)
.CODE
MAIN PROC FAR
MOV AX, @DATA
MOV DS, AX
PUSH VAL3
PUSH VAL2
PUSH VAL1
CALL SUBR1
MOV RESL, AX
MOV RESL +2, BX
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
SUBR1 PROC FAR
SUB BX, BX
PUSH BP
MOV BP, SP
MOV AX,[BP+6]
MOV CX,[ BP +8]
MOV DX,[BP +10]
ADD AX,CX
ADC BX,00
ADD AX, DX
ADC BX,00
POP BP
RET 6
SUBR1 ENDP
END
Assume SP =169BH before the "PUSH VAL3" instruction in the main procedure. After the main procedure is executed, find the following:
RESI =
SP=
b. User wants to add 256k EPROMs and 256k SRAMs to a PC using the 74138s to decode the 64k x8 memory blocks (EPROMs and SRAMs) controlled by Ys. Addresses available start 50000H and another D0000.
1. How many memory block required from EPROMs and SRAMs?
2. Determine the typical range address of added EPROMs and SRAMs?
3. Determine the range of each memory block controlled by Ys?
4. Design and draw the memory decoding using 74138 circuitries in which the memory block controlled by Ys?
 .DATA VAL1 DW 1\Alpha 30\Eta VAL2 DW 1980H VAL3 DW 20B5H

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!