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

ocr typo page 224 (JTAB) #3

Open
gtoal opened this issue Dec 3, 2020 · 0 comments
Open

ocr typo page 224 (JTAB) #3

gtoal opened this issue Dec 3, 2020 · 0 comments

Comments

@gtoal
Copy link

gtoal commented Dec 3, 2020

;
;	INDEX INTO TABLE OF WORD-LENGTH ADDRESSES
;	OBTAIN ROUTINE ADDRESS FROM TABLE AND TRANSFER CONTROL TO IT
;
;
;



	ASLA			; DOUBLE INDEX FOR WORD-LENGTH ENTRIES
	LDX	#JMPTBL		; GET BASE ADDRESS OF JUMP TABLE
	JMP			; JUMP INDIRECTLY TO SUBROUTINE

The last line should be:
JMP [A,X] ; JUMP INDIRECTLY TO SUBROUTINE

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