vreg
Member level 4
- Joined
- Oct 16, 2012
- Messages
- 70
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,935
I'm trying to interface 8086 to 8255 to blink leds in sequence. However, the simulation in proteus is throwing up the following error:
invalid internal memory size == NULL (internal memory mode)
attached .bmp file of the layout
Please Help...
invalid internal memory size == NULL (internal memory mode)
attached .bmp file of the layout
Please Help...
Code:
.model tiny
.data
.code
.startup
creg equ 06h
mov al,80h
out creg,al
x1: mov al,00 ;reset bit PC0
out creg,al
mov al,03 ;set bit PC1
out creg,al
mov al,05 ;set bit PC2
out creg,al
call delay_1ms
mov al,01 ;set bit PC0
out creg,al
mov al,02 ;reset bit PC1
out creg,al
mov al,05 ;set bit PC2
out creg,al
call delay_1ms
mov al,01
out creg,al
mov al,03
out creg,al
mov al,04
out creg,al
call delay_1ms
jmp x1
.exit
end
Attachments
Last edited: