Contents|Index|Previous|Next
H8/500 dependent features

See the following documentation for the Hitachi H8/500 architecture’s features and options for the assembler. Options for H8/500

as has no additional command-line options for the Hitachi H8/500 family.

Syntax for H8/500

The following documentation refers to the syntax for the Hitachi H8/500.

Special characters for H8/500

! is the line comment character.

; can be used instead of a newline to separate statements.

Since $ has no special meaning, you may use it in symbol names.

Register names for H8/500

You can use the predefined symbols r0, r1, r2, r3, r4, r5, r6, and r7 to refer to the H8/500 registers.

The H8/500 also has the following control registers.
 

All registers are 16 bits long. To represent 32 bit numbers, use two adjacent registers; for distant memory addresses, use one of the segment pointers (cp for the program counter; dp for r0r3; ep for r4 and r5; and tp for r6 and r7.

Addressing modes for H8/500

as understands the following addressing modes for the H8/500.
 

Floating point for H8/500

The H8/500 family has no hardware floating point, but the .float directive generates IEEE floating-point numbers for compatibility with other development tools.

Machine directives for H8/500

as has no machine-dependent directives for the H8/500. However, on this platform the .int and .word directives generate 16-bit numbers.

Opcodes for H8/500

For detailed information on the H8/500 machine instruction set, see H8/500 Series Programming Manual (Hitachi M21T001).

as implements all the standard H8/500 opcodes. No additional pseudo-instructions are needed on this family.


Top|Contents|Index|Previous|Next