0 Members and 1 Guest are viewing this topic.
;Program made by: David Gomes.nolist#include "ti83plus.inc".list .org userMem-2 .db $BB,$6DInit: b_call(_ClrLCDFull) myVar .equ 60 ld a,myVar ld h,0 ld l,a b_call(_DispHL) b_call(_GetKey) b_call(_ClrLCDFull) res 5,(iy+0) ; Disables 'Done' message ld hl, 0 ld (PenCol), hl ld hl, msg b_call(_PutS) ; Display the text b_call(_NewLine) ret msg: .db "Hello world!", 0.end.end
Pass one...myfile.z80:11: warning: Suggest remove extra parentheses around argumentmyfile.z80:12: error: Can't recognize 'myVar' as an instruction or macromyfile.z80:16: warning: Suggest remove extra parentheses around argumentmyfile.z80:17: warning: Suggest remove extra parentheses around argumentmyfile.z80:18: warning: Suggest remove extra parentheses around argumentmyfile.z80:23: warning: Suggest remove extra parentheses around argumentmyfile.z80:24: warning: Suggest remove extra parentheses around argumentPass two...myfile.z80:13: error: 'myVar' isn't a macro or labelDone
Pass one...myfile.z80:9: warning: Suggest remove extra parentheses around argumentmyfile.z80:10: error: Can't recognize 'myVar' as an instruction or macromyfile.z80:14: warning: Suggest remove extra parentheses around argumentmyfile.z80:15: warning: Suggest remove extra parentheses around argumentmyfile.z80:16: warning: Suggest remove extra parentheses around argumentmyfile.z80:21: warning: Suggest remove extra parentheses around argumentmyfile.z80:22: warning: Suggest remove extra parentheses around argumentPass two...myfile.z80:11: error: 'myVar' isn't a macro or labelDone
Try unindenting my var completely then
;Program made by: David Gomes.nolist#include "ti83plus.inc".list .org userMem-2 .db $BB,$6DInit: b_call(_ClrLCDFull) ld a,myVar ld h,0 ld l,a b_call(_DispHL) b_call(_GetKey) b_call(_ClrLCDFull) res 5,(iy+0) ; Disables 'Done' message ld hl, 0 ld (PenCol), hl ld hl, msg b_call(_PutS) ; Display the text b_call(_NewLine) ret msg: .db "Hello world!", 0myVar .equ 60.end.end