MCB251 Evaluation Board User’s Guide
25
A16_ROM = A[16]
A16_RAM = A[16]
RD_RAM = PSEN
END
3: BEGIN ; 8051 Mode
CS_RAM = /(A[15] * A[14] * A[13]) ; RAM 00000 - 0dfff 8051 Mode
CS_ROM = 1; ; ROM 00000 - 0ffff
A16_ROM = 0
A16_RAM = 0
RD_RAM = /A[16]
END
END
END
IF (MAP[1..0] = #b11) THEN ; 8051 Mode?
BEGIN
IF (A[15..10] = #b111000) THEN ; ADDRESS e000 - e3ff
BEGIN
CS_USER = 1
END
ELSE
BEGIN
CS_USER = 0
END
IF (A[15..10] = #b111001) THEN ; ADDRESS e400 - e7ff
BEGIN
CS_UART = 1
END
ELSE
BEGIN
CS_UART = 0
END
END
ELSE
BEGIN
IF (A[17..10] = #b11111000) THEN ; ADDRESS 3e000 - 3e3ff
BEGIN
CS_USER = 1
END
ELSE
BEGIN
CS_USER = 0
END
IF (A[17..10] = #b11111001) THEN ; ADDRESS 3e400 - 3e7ff
BEGIN
CS_UART = 1
END
ELSE
BEGIN
CS_UART = 0
END
END
;-------------------------------------------------------------------
Содержание MCB251
Страница 6: ...vi Contents...
Страница 18: ...12 Chapter 2 Setup...
Страница 24: ...18 Chapter 3 Hardware Schematics...
Страница 25: ...MCB251 Evaluation Board User s Guide 19...
Страница 26: ...20 Chapter 3 Hardware...
Страница 27: ...MCB251 Evaluation Board User s Guide 21...
Страница 28: ...22 Chapter 3 Hardware Printed Board Assembly...