76
Remarks:
When (address) is specified, the instruction stored starting at (address) is ex-
ecuted. If (address) is not specified, the instruction stored at the address indi-
cated by the program counter is executed. To execute several program steps,
execute the Step command as many times as required.
When Step is executed, the instruction stored at the specified address is dis-
played as well as the contents of all the hardware registers.
Mini-assembler
Purpose:
To assemble one line of the program at a time.
Note Mnemonics used in Hitachi’s HD6303X CPU operation manual are used here.
Procedure:
1, 2, 3...
1.
Key in CTRL+A
2.
Type in one line of code and a carriage return.
3.
To stop, key in X followed by a carriage return.
Remarks:
Keying in CTRL+A puts the monitor in mini-assembler mode. Each time a line of
code followed by a carriage return is subsequently entered, the mini-assembler
will assemble and display it. To exit mini-assembler mode enter “x” followed by a
carriage return.
Note Always enter a space after the prompt (!) when using command without address-
es. Always enter a space between operands.
Example:
Enter:
*CTRL+A
↵
!_3000:LDAA_ #$80
↵
Displayed:
3000–86 80
LDAA #$80
Enter:
!_LDAB_#$7F
↵
Displayed:
3002–C6 7F
LDAB #$7F
Enter:
!_STD_$4000
↵
Displayed:
3004–FD 40 00 STD
$4000
Enter:
!_ASLA
↵
Displayed:
3007 48 ASLA
Enter:
!_BNE_$3000
↵
Displayed:
3008 26 F6
BNE
$3000
Enter:
!X
↵
Arithmetic Using Hexadecimal
Purpose:
To add or subtract 4-digit hexadecimal data.
Format:
(hex data)+(hex data)
(hex data)–(hex data)
Examples:
Enter:
*1234+5678
↵
Displayed:
1234+5678=68AC
Enter:
*ABCD+EF01
↵
Displayed:
ABCD+EF01=9ACE
Enter:
*AB–12
↵
Displayed:
AB–12=0099
Monitor Mode Commands
Содержание C500-ASC04
Страница 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Страница 5: ...iv ...
Страница 7: ...vi ...