49 ;****************************************************
50 ;* An invalid command is entered.
51 ;****************************************************
001046 FB0F 52 Cmd_I MOV.B #End_Msgs-Msg_I,R3L
001048 7A0400002022 53 MOV.L #Msg_I,ER4
54 ;****************************************************
55 ;* The destination area is cleared.
56 ;****************************************************
00104E 7A05000FF804 57 Write_Msg MOV.L #Msg_Dest,ER5
001054 FE20 58 Clear_Old MOV.B #H’20,R6L
001056 68D8 59 Clear_Loop MOV.B R0L,@ER5
001058 0B05 60 ADDS.L #1,ER5
00105A 1A0E 61 DEC.B R6L
00105C 46F8 62 BNE Clear_Loop
63 ;****************************************************
64 ;* Message is written to the destination.
65 ;****************************************************
00105E 7A05000FF804 66 MOV.L #Msg_Dest,ER5
001064 6C4E 67 Write_Loop MOV.B @ER4+,R6L
001066 68DE 68 MOV.B R6L,@ER5
001068 0B05 69 ADDS.L #1,ER5
00106A 1A0B 70 DEC.B R3L
00106C 46F6 71 BNE Write_Loop
72 ;****************************************************
73 ;* Go back and scan for next command.
74 ;****************************************************
00106E 409C 75 BRA Clear
76
0FF800 77 .SECTION Data,DATA,LOCATE=H’FF800
78 ;****************************************************
79 ;* Command input area.
80 ;****************************************************
0FF800 00000004 81 Cmd_Input .RES.L 1
82 ;****************************************************
83 ;* Destination of the command messages.
84 ;****************************************************
0FF804 00000100 85 Msg_Dest .RES.W H’80
0FF904 86 Stack
00001000 87 .END Init
Figure 2-1. Sample Program Listing (Cont’d)
2-6 Getting Started
Содержание H8/3003
Страница 2: ......
Страница 12: ...Figure 1 1 HP 64784 Emulator for the H8 3003 1 2 Introduction to the H8 3003 Emulator ...
Страница 56: ...Notes 2 36 Getting Started ...
Страница 63: ...Figure 3 3 Installing the PGA adaptor 3001 mode 3 4 3 7 In Circuit Emulation ...
Страница 64: ...Figure 3 4 Installing the PGA adaptor 3004 5 mode 3 3 8 In Circuit Emulation ...
Страница 82: ...Target System Interface ø RES STBY NMI MD0 2 3 26 In Circuit Emulation ...
Страница 83: ... RESO P1 P2 P5 A0 23 P3 P4 D0 15 3 27 In Circuit Emulation ...
Страница 84: ...P6 P8 P9 PA PB PC 3 28 In Circuit Emulation ...
Страница 85: ...P7 AVcc Vref AVss 3 29 In Circuit Emulation ...
Страница 105: ...Notes 4 20 Configuring the Emulator ...
Страница 107: ...CONFIG_ITEMS Summary H8 3003 emulator configuration items Syntax A 2 H8 3003 Emulator Specific Command Syntax ...
Страница 121: ...Notes A 16 H8 3003 Emulator Specific Command Syntax ...