John Pizzuto

Porting HC11 code

Discussion created by John Pizzuto on Oct 31, 2006
Latest reply on Nov 2, 2006 by William Whyte
For HC11, LDX = #RegBase = $1000
Then use indirect X to address registers

So, this goes away, and I just delete the ",x" from my HC11 code, when accessing the registers?

For registers on page 0, ok, direct addressing, but what about the registers beyond page 0? Do you have to switch to extended?

HC11 variables were on page 0 and used direct addressing, but now the labels will start at $0800. Will I need to change anything, or will the assembler take care of it?