Debugging, First Steps
FR Family MB2198-01 Emulating and Debugging Installation Guide, Doc. No. 002-05223 Rev. *A
10
3.2.1
Mixed Display
. . .
12: #include "mb91230.h"
13:
14: unsigned int i;
15:
16: void wait(unsigned int a)
000C019E: 1704 ST R4,@-R15
000C01A0: 1781 ST RP,@-R15
000C01A2: 0F01 ENTER #004
17: {
18: for (i=0; i<a; i++);
000C01A4: C000 LDI:8 #00,R0
000C01A6: 9B3CC000 LDI:20 #3C000,R12
000C01AA: 14C0 ST R0,@R12
000C01AC: 9B3CC000 LDI:20 #3C000,R12
000C01B0: 04C0 LD @R12,R0
000C01B2: 2021 LD @(R14,8),R1
000C01B4: AA10 CMP R1,R0
000C01B6: E508 BNC 000C01C8
000C01B8: 9B3CC000 LDI:20 #3C000,R12
000C01BC: 04C0 LD @R12,R0
000C01BE: A410 ADD #1,R0
000C01C0: 9B3CC000 LDI:20 #3C000,R12
000C01C4: 14C0 ST R0,@R12
000C01C6: E0F2 BRA 000C01AC
19: }
000C01C8: 9F90 LEAVE
000C01CA: 0781 LD @R15+,RP
000C01CC: A301 ADDSP #4
000C01CE: 9720 RET
20:
21: void main(void)
000C01D0: 1781 ST RP,@-R15
000C01D2: 0F01 ENTER #004
22: {
23: PDR1=0x00;
000C01D4: C000 LDI:8 #00,R0
Continued on next page
Summary of Contents for MB2147-01
Page 10: ......
Page 11: ...FUJITSU LIMITED DSU FR EMULATOR MB2198 01 HARDWARE MANUAL ...
Page 12: ......
Page 20: ...viii ...
Page 22: ...x ...
Page 56: ...34 CHAPTER 2 CONNECTION METHOD ...
Page 64: ...42 CHAPTER 3 OPERATION METHOD ...
Page 66: ......
Page 76: ...54 APPENDIX B User System Specifications ...
Page 78: ......
Page 92: ......