Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

invalid internal memory size isis

Status
Not open for further replies.

vreg

Member level 4
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: 119
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top