invalid internal memory size isis

Status
Not open for further replies.

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...

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

  • led.bmp
    790.5 KB · Views: 120
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…