Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. 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

New Member
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 image 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.zip
    24.6 KB · Views: 316
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top