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

Error while assemble #1

Open
JasonMo1 opened this issue Aug 17, 2023 · 0 comments
Open

Error while assemble #1

JasonMo1 opened this issue Aug 17, 2023 · 0 comments

Comments

@JasonMo1
Copy link

JasonMo1 commented Aug 17, 2023

Environment

system:

Linux JasonMo1stPC 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux

z88dk-z80asm version:

21199-8f9ab7b994-20230610

log:

jasonmo@JasonMo1stPC:~/basic-z80$ make
z80asm -obbcbasic.com -b -d -l -m main.asm exec.asm eval.asm fpp.asm hardware.asm cpm.asm ram.asm
main.asm:103: error: syntax error
  ^---- LINE EQU 86H
      ^---- LINE EQU 134
main.asm:104: error: syntax error
  ^---- ELSE EQU 8BH
main.asm:116: error: syntax error
  ^---- LOCAL EQU 0EAH
main.asm:118: error: syntax error
  ^---- ON EQU 0EEH
      ^---- ON EQU__1 238
main.asm:119: error: syntax error
  ^---- PROC EQU 0F2H
      ^---- PROC EQU__1 242
main.asm:120: error: syntax error
  ^---- REM EQU 0F4H
      ^---- REM EQU__1 244
main.asm:121: error: syntax error
  ^---- REPEAT EQU 0F5H
      ^---- REPEAT EQU__1 245
main.asm:122: error: syntax error
  ^---- RESTOR EQU 0F7H
      ^---- RESTOR EQU__1 247
main.asm:123: error: syntax error
  ^---- TRACE EQU 0FCH
      ^---- TRACE EQU__1 252
main.asm:124: error: syntax error
  ^---- UNTIL EQU 0FDH
      ^---- UNTIL EQU__1 253
main.asm:126: error: syntax error
  ^---- TOKLO EQU 8FH
      ^---- TOKLO EQU__1 143
main.asm:127: error: syntax error
  ^---- TOKHI EQU 93H
      ^---- TOKHI EQU__1 147
main.asm:128: error: syntax error
  ^---- OFFSET EQU 0CFH-TOKLO
      ^---- OFFSET EQU__1 207-TOKLO
main.asm:584: error: syntax error
  ^---- KEYWDL EQU $-KEYWDS
      ^---- KEYWDL EQU__1$-KEYWDS
main.asm:1961: error: syntax error
  ^---- LIST1L EQU $-LIST1
      ^---- LIST1L EQU__1$-LIST1
main.asm:1965: error: syntax error
  ^---- LIST2L EQU $-LIST2
      ^---- LIST2L EQU__1$-LIST2
main.asm:2024: error: syntax error
  ^---- CR EQU 0DH
      ^---- CR EQU__1 13
main.asm:2025: error: syntax error
  ^---- LF EQU 0AH
      ^---- LF EQU__1 10
main.asm:2026: error: syntax error
  ^---- ESC EQU 1BH
      ^---- ESC EQU__1 27
main.asm:165: error: undefined symbol: CR
  ^---- CR
main.asm:166: error: undefined symbol: LF
  ^---- LF
main.asm:168: error: undefined symbol: CR
  ^---- CR
main.asm:169: error: undefined symbol: LF
  ^---- LF
main.asm:616: error: undefined symbol: LOCAL
  ^---- LOCAL
main.asm:619: error: undefined symbol: PROC
  ^---- PROC
main.asm:657: error: undefined symbol: PROC
  ^---- PROC
main.asm:680: error: undefined symbol: ON
  ^---- ON
main.asm:683: error: undefined symbol: ON
  ^---- ON
main.asm:694: error: undefined symbol: REPEAT
  ^---- REPEAT
main.asm:755: error: undefined symbol: CR
  ^---- CR
main.asm:987: error: undefined symbol: CR
  ^---- CR
main.asm:988: error: undefined symbol: LF
  ^---- LF
main.asm:1001: error: undefined symbol: CR
  ^---- CR
main.asm:1013: error: undefined symbol: CR
  ^---- CR
main.asm:1023: error: undefined symbol: CR
  ^---- CR
main.asm:1173: error: undefined symbol: CR
  ^---- CR
main.asm:1227: error: undefined symbol: NEXT
  ^---- NEXT
main.asm:1229: error: undefined symbol: UNTIL
  ^---- UNTIL
main.asm:1247: error: undefined symbol: REPEAT
  ^---- REPEAT
main.asm:1252: error: undefined symbol: CR
  ^---- CR
main.asm:1283: error: undefined symbol: NEXT
  ^---- NEXT
main.asm:1288: error: undefined symbol: REPEAT
  ^---- REPEAT
main.asm:1290: error: undefined symbol: UNTIL
  ^---- UNTIL
main.asm:1304: error: undefined symbol: CR
  ^---- CR
main.asm:1306: error: undefined symbol: LF
  ^---- LF
main.asm:1308: error: undefined symbol: CR
  ^---- CR
main.asm:1332: error: undefined symbol: KEYWDL
  ^---- KEYWDL
main.asm:1593: error: undefined symbol: PROC
  ^---- PROC
main.asm:1851: error: undefined symbol: LINE
  ^---- LINE
main.asm:1876: error: undefined symbol: CR
  ^---- CR
main.asm:1919: error: undefined symbol: TOKLO
  ^---- TOKLO
main.asm:1921: error: undefined symbol: TOKHI
  ^---- TOKHI+1
main.asm:1923: error: undefined symbol: OFFSET
  ^---- OFFSET
main.asm:1924: error: undefined symbol: REM
  ^---- REM
main.asm:1931: error: undefined symbol: PROC
  ^---- PROC
main.asm:1941: error: undefined symbol: LIST1L
  ^---- LIST1L
main.asm:1948: error: undefined symbol: LIST2L
  ^---- LIST2L
main.asm:1957: error: undefined symbol: RESTOR
  ^---- RESTOR
main.asm:1958: error: undefined symbol: TRACE
  ^---- TRACE
main.asm:1959: error: undefined symbol: THEN
  ^---- THEN
main.asm:1960: error: undefined symbol: ELSE
  ^---- ELSE
main.asm:1962: error: undefined symbol: REPEAT
  ^---- REPEAT
exec.asm:122: error: syntax error
  ^---- LINE EQU 86H
      ^---- LINE EQU 134
exec.asm:127: error: syntax error
  ^---- ELSE EQU 8BH
exec.asm:307: error: undefined symbol: ELSE
  ^---- ELSE-TCMD
exec.asm:664: error: undefined symbol: ELSE
  ^---- ELSE
exec.asm:1073: error: undefined symbol: LINE
  ^---- LINE
exec.asm:1209: error: undefined symbol: THEN
  ^---- THEN
exec.asm:1220: error: undefined symbol: ELSE
  ^---- ELSE
exec.asm:1736: error: undefined symbol: ELSE
  ^---- ELSE
eval.asm:155: error: syntax error
  ^---- AND EQU 80H
      ^---- AND EQU 128
eval.asm:159: error: syntax error
  ^---- OR EQU 84H
      ^---- OR EQU 132
eval.asm:188: error: undefined symbol: OR
  ^---- OR
eval.asm:196: error: undefined symbol: AND
  ^---- AND
make: *** [Makefile:4: bbcbasic.com] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant