| Table of Contents |
| List of Figures |
[To Be Filled In]
| Introduction |
[To Be Filled In]
Binary (Base 2) numbers are represented using the WLA-DX format of the "%"
symbol followed by a string of binary digits (0 and 1). A valid binary number
representation would be: %11100110.
The SMS and GG machines are both based on Zilog's Z80 microprocessor. This
microprocessor is a "little-endian" machine, meaning that bytes of a word
are numbered starting from the least-significant byte. As a result,
the SMS and GG machines are also little-endian. The least-significant byte
in a word will always be stored to memory first, at the lower address, followed
by the most-significant byte at the higher address.
Diagrams of data structures in memory will have lower memory addresses
towards the bottom of the page, with higher addresses growing towards the top
of the page.
where:
For example:
In this example, LOOP1 is a label, LD is the mnemonic identifier for the
opcode, HL is the destination operand, and STARTVALUE is the source operand.
[To Be Filled In]
[To Be Filled In]
[To Be Filled In]
[To Be Filled In]
I.1 About this Document
This document is a template that can be used for the creation of SDSC
documents. It is intended only as a starting point. Adjust the Table of
Contents and the chapters as appropriate. Also, remove this paragraph and
replace with the actual introduction parapgraph.
I.2 Document Conventions
This document uses a specific notation for hexadecimal and binary numbers,
symbolic representation of instructions, and data-structure formats.
Familiarity with this notation is essential to understanding this document.I.2.1 Hexadecimal and Binary Numbers
Hexadecimal (Base 16) numbers are represented using the WLA-DX format of the
"$" symbol followed by a string of hexadecimal digits (1-9 and A-F). The
hexadecimal digits 'A' through 'F' will always be upper-case. A valid
hexadecimal number representation would be: $C0FF.I.2.2 Bit and Byte Order
Bits are numbered starting from right to left, (i.e., least-significant to
most-significant.) All bytes consist of eight bits: 0 through 7.I.2.3 Reserved Bits
In certain register layout descriptions, various bits will be marked as
"Reserved." All reserved bits are implicitly RESET (0). Software should
never attempt to SET these bits (to 1). Follow the guidelines below:
I.2.4 Instruction Operands
The main processor used in the SMS and GG machines is the Zilog Z80
microprocessor. The symbolic representation of instructions is taken directly
from Z80 assembly language. The format is shown below:
When two operands are present, the right operand is the source and the left
is the destination.LOOP1: LD HL, STARTVALUE
I.3 Revision History
Version ?.?? (Month Date, Year): Comment.
Chapter ?:
Put Chapter Title Here
?.1 Put Section Title Here
?.1.1 Put Sub-Section Title Here
[To Be Filled In]
Appendix A: Put Appendix
Title Here
Glossary
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
References