Question: . DATA VAL 1 DW 3 D 6 0 H VAL 2 DW 4 0 1 9 H VAL 3 DW 1 3 C 1

.DATA
VAL1 DW 3D60H
VAL2 DW 4019H
VAL3 DW 13C1H
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 =16ACH before the "PUSH VAL3" instruction in the main procedure. After the main procedure is executed, find the following:
RESI =
SP=
a. 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 40000H and another C0000.
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?

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!