Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8080 assembler: Forward reference of EQU doesn't work #194

Closed
vbmacher opened this issue Feb 15, 2021 · 0 comments
Closed

8080 assembler: Forward reference of EQU doesn't work #194

vbmacher opened this issue Feb 15, 2021 · 0 comments
Labels
Milestone

Comments

@vbmacher
Copy link
Collaborator

E.g.

LXI	SP,STACK

TEMPP:	DW	TEMP0	;POINTER USED TO TEST "LHLD","SHLD",
			; AND "LDAX" INSTRUCTIONS
;
TEMP0:	DS	1	;TEMPORARY STORAGE FOR CPU TEST MEMORY LOCATIONS
TEMP1:	DS	1	;TEMPORARY STORAGE FOR CPU TEST MEMORY LOCATIONS
TEMP2:	DS	1	;TEMPORARY STORAGE FOR CPU TEST MEMORY LOCATIONS
TEMP3:	DS	1	;TEMPORARY STORAGE FOR CPU TEST MEMORY LOCATIONS
TEMP4:	DS	1	;TEMPORARY STORAGE FOR CPU TEST MEMORY LOCATIONS
SAVSTK:	DS	2	;TEMPORARY STACK-POINTER STORAGE LOCATION


STACK EQU TEMPP+256 ;DE-BUG STACK POINTER STORAGE AREA

Shows error:

Compiling started...
[Info   ] Intel 8080 Assembler, version 0.41-SNAPSHOT
[Error  ] Compilation error: Unknown identifier: STACK
Compiling has finished.
@vbmacher vbmacher added the bug label Feb 15, 2021
@vbmacher vbmacher added this to the 0.41 milestone Feb 15, 2021
vbmacher added a commit that referenced this issue Apr 1, 2021
@vbmacher vbmacher closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant