User Tools

Site Tools





Sidebar

prg:64001

Back to PRG index...

Topic: 64001 - Accessing Registers and SYS

To pass values to the registers when SYS'ing to an ML routine, you can poke to certain memory locations in zero page. They are:

Register C64 C128
Accumulator 780 6
X 781 7
Y 782 8
Process Status Register 783 5

Of course, the 128 makes it easier… just SYS [address],A,X,Y,P

prg/64001.txt · Last modified: 2021/09/21 15:47 by David