There are various addressing modes available.
4 bit addressing mode
Only used for addressing the 16 working registers. This is the fastest and smallest addressing mode.
8 bit addressing mode
With this mode you can address 256 memory locations. When addressing registers you can only access the first 256 registers.
12 bit addressing mode
Also called Extended Addressing. Not all instructions support Extended Addressing. Sometimes there is a separate instruction that does the same, but CAN use Extended Addressing. These instructions generally end with an X. An example is LD and LDX. With LDX you can use more addressing modes than with LD.
Used for relative jumps. Uses 8 bit signed addresses. You can jump -128 to +127 places from the current PC address. Also used for some other instructions for an offset from a RAM location. More details about that in a bit.
In this case an address to a memory location is stored in a register. You pass on the address of the register where the address is stored in to the cpu. Indirect Addresses have an @ prefix. A different term for Indirect Address is Pointer (because the address stored in the register points to another memory location.)
Please submit corrections, suggestions, and new documentation here: Submit a ticket
← Return to Reference Index
This is not an official Zilog website. Zilog nor 8times8 are liable for any damage done to equipment. Tutorial and reference copyright ©8times8 Creative Commons CC-0 License (public domain.) This reference uses content from Zilog's technical datasheets. Fair use only. Datasheets copyright © 2013 Zilog®, Inc. Z8, Z8 Encore!, Z8 Encore! XP and Z8 Encore! MC are trademarks or registered trademarks of Zilog, Inc. Read Zilog's terms at zilog.com
Website design by Koen van Vliet. Hosted by sourceforge.net
: mysqli_error() expects exactly 1 parameter, 0 given in /home/project-web/ez8tut/htdocs/require/footer.inc.php on line 67