- make-processor #!key memory registersprocedure
Returns a record structure representing a single 6502 processor. memory should be an u8vector that is used as RAM, usually of length 65546. registers should be an 7 element u8vector, where the elements hold the values of the registers, according to the following table:
Index Register 0 A 1 X 2 Y 3 P 4 S 5 PC (low byte) 6 PC (high byte)