User Tools

Site Tools


base:register_selection_for_load_and_store
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


base:register_selection_for_load_and_store [2015-04-17 04:33] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Register selection for load and store ======
 +
 +<code>
 +   bit1 bit0      X  Y
 +    0    0             x
 +    0    1          x
 +    1    0       x
 +    1    1        x
 +
 +So, A and X are selected by bits 1 and 0 respectively, while
 + ~(bit1|bit0) enables Y.
 +
 +Indexing is determined by bit4, even in relative addressing mode,
 +which is one kind of indexing.
 +
 +Lines containing opcodes xxx000x1 (01 and 03) are treated as absolute
 +after the effective address has been loaded into CPU.
 +
 +Zeropage,y and Absolute,y (codes 10x1 x11x) are distinguished by bit5.
 +</code>
 +
  
base/register_selection_for_load_and_store.txt · Last modified: 2015-04-17 04:33 by 127.0.0.1