nobody
A program of Roots.
This program is not meant to build. What the tool says is the lesson.
NGA4606 the address of `handler` is taken and nothing says who follows it: `.own` if this section does, `.own NAME` if another does, `.root` if the hardware does /Users/waldek/Desktop/NGA/tutorial/13-roots/nobody/call.asm:15
NGA4607 `entry` jumps through a pointer and owns no address of code, so nothing says where the jump goes /Users/waldek/Desktop/NGA/tutorial/13-roots/nobody/call.asm:23
main.ngp
target { region $0080 .. $00FF ram region $2000 .. $BFFF ram }
modules { "call.asm" }
container raw
call.asm
.section zeropage
vector
.res 2
.ends
.proc handler
rts
.endp
; tag nobody
; The address of `handler` goes into a pointer and the pointer is jumped
; through. Neither line says the two are the same jump.
.section
address
.word handler
.ends
.proc entry
lda address
sta vector
lda address + 1
sta vector + 1
jmp (vector)
.endp
; end nobody