Create
Edit
Diff
FrontPage
Index
Search
Changes
Login
はじめてのひき - FizzBuzzAsm_h8300-hms
Title
! Version % h8300-hms-gcc -v Reading specs from /usr/lib/gcc/h8300-hitachi-coff/3.4.6/specs Configured with: ../configure coff Thread model: single gcc version 3.4.6 ! Optimized fizzbuzz.o: ファイル形式 coff-h8300 Disassembly of section .text: 00000000 <_main>: 0: 6d f6 mov.w r6,@-r7 2: 0d 76 mov.w r7,r6 4: 6d f4 mov.w r4,@-r7 6: 79 04 00 01 mov.w #0x1,r4 0000000a <.L11>: a: 79 01 00 0f mov.w #0xf,r1 e: 0d 40 mov.w r4,r0 10: 5e 00 00 00 jsr @0x0:24 10: 24/pcrell ___modhi3 14: 0d 00 mov.w r0,r0 16: 46 00 bne .0 (0x18) 17: DISP8 .L5+0xffffffff 18: 79 00 00 00 mov.w #0x0,r0 1a: 16 .LC0 1c: 5e 00 00 00 jsr @0x0:24 1c: 24/pcrell _puts 20: 40 00 bra .0 (0x22) 21: DISP8 .L4+0xffffffff 00000022 <.L5>: 22: 79 01 00 05 mov.w #0x5,r1 26: 0d 40 mov.w r4,r0 28: 5e 00 00 00 jsr @0x0:24 28: 24/pcrell ___modhi3 2c: 0d 00 mov.w r0,r0 2e: 46 00 bne .0 (0x30) 2f: DISP8 .L7+0xffffffff 00000030 <.bb>: 30: 79 00 00 00 mov.w #0x0,r0 32: 16 .LC1 34: 5e 00 00 00 jsr @0x0:24 34: 24/pcrell _puts 00000038 <.eb>: 38: 40 00 bra .0 (0x3a) 39: DISP8 .L4+0xffffffff 0000003a <.L7>: 3a: 79 01 00 03 mov.w #0x3,r1 3e: 0d 40 mov.w r4,r0 40: 5e 00 00 00 jsr @0x0:24 40: 24/pcrell ___modhi3 44: 0d 00 mov.w r0,r0 46: 46 00 bne .0 (0x48) 47: DISP8 .L9+0xffffffff 00000048 <.bb>: 48: 79 00 00 00 mov.w #0x0,r0 4a: 16 .LC2 4c: 5e 00 00 00 jsr @0x0:24 4c: 24/pcrell _puts 00000050 <.eb>: 50: 40 00 bra .0 (0x52) 51: DISP8 .L4+0xffffffff 00000052 <.L9>: 52: 6d f4 mov.w r4,@-r7 54: 79 02 00 00 mov.w #0x0,r2 56: 16 .LC3 58: 6d f2 mov.w r2,@-r7 5a: 5e 00 00 00 jsr @0x0:24 5a: 24/pcrell _printf 0000005e <.eb>: 5e: 0b 87 adds #2,r7 60: 0b 87 adds #2,r7 00000062 <.L4>: 62: 0b 04 adds #1,r4 64: 79 02 00 64 mov.w #0x64,r2 68: 1d 24 cmp.w r2,r4 6a: 4f 00 ble .0 (0x6c) 6b: DISP8 .L11+0xffffffff 6c: 6d 74 mov.w @r7+,r4 6e: 6d 76 mov.w @r7+,r6 70: 54 70 rts ! Normal fizzbuzz.o: ファイル形式 coff-h8300 Disassembly of section .text: 00000000 <_main>: 0: 6d f6 mov.w r6,@-r7 2: 0d 76 mov.w r7,r6 4: 1b 87 subs #2,r7 6: 79 02 00 01 mov.w #0x1,r2 a: 6f e2 ff fe mov.w r2,@(0xfffe:16,r6) 0000000e <.L2>: e: 6f 63 ff fe mov.w @(0xfffe:16,r6),r3 12: 79 02 00 64 mov.w #0x64,r2 16: 1d 23 cmp.w r2,r3 18: 4f 00 ble .0 (0x1a) 19: DISP8 .Lh8BR17+0xffffffff 1a: 5a 00 00 00 jmp @0x0:24 1a: 24/pcrell .L3 0000001e <.Lh8BR17>: 1e: 6f 62 ff fe mov.w @(0xfffe:16,r6),r2 22: 79 01 00 0f mov.w #0xf,r1 26: 0d 20 mov.w r2,r0 28: 5e 00 00 00 jsr @0x0:24 28: 24/pcrell ___modhi3 2c: 0d 02 mov.w r0,r2 2e: 0d 22 mov.w r2,r2 30: 46 00 bne .0 (0x32) 31: DISP8 .L5+0xffffffff 32: 79 00 00 00 mov.w #0x0,r0 34: 16 .LC0 36: 5e 00 00 00 jsr @0x0:24 36: 24/pcrell _puts 3a: 40 00 bra .0 (0x3c) 3b: DISP8 .L4+0xffffffff 0000003c <.L5>: 3c: 6f 62 ff fe mov.w @(0xfffe:16,r6),r2 40: 79 01 00 05 mov.w #0x5,r1 44: 0d 20 mov.w r2,r0 46: 5e 00 00 00 jsr @0x0:24 46: 24/pcrell ___modhi3 4a: 0d 02 mov.w r0,r2 4c: 0d 22 mov.w r2,r2 4e: 46 00 bne .0 (0x50) 4f: DISP8 .L7+0xffffffff 00000050 <.bb>: 50: 79 00 00 00 mov.w #0x0,r0 52: 16 .LC1 54: 5e 00 00 00 jsr @0x0:24 54: 24/pcrell _puts 00000058 <.eb>: 58: 40 00 bra .0 (0x5a) 59: DISP8 .L4+0xffffffff 0000005a <.L7>: 5a: 6f 62 ff fe mov.w @(0xfffe:16,r6),r2 5e: 79 01 00 03 mov.w #0x3,r1 62: 0d 20 mov.w r2,r0 64: 5e 00 00 00 jsr @0x0:24 64: 24/pcrell ___modhi3 68: 0d 02 mov.w r0,r2 6a: 0d 22 mov.w r2,r2 6c: 46 00 bne .0 (0x6e) 6d: DISP8 .L9+0xffffffff 0000006e <.bb>: 6e: 79 00 00 00 mov.w #0x0,r0 70: 16 .LC2 72: 5e 00 00 00 jsr @0x0:24 72: 24/pcrell _puts 00000076 <.eb>: 76: 40 00 bra .0 (0x78) 77: DISP8 .L4+0xffffffff 00000078 <.L9>: 78: 6f 62 ff fe mov.w @(0xfffe:16,r6),r2 7c: 6d f2 mov.w r2,@-r7 7e: 79 02 00 00 mov.w #0x0,r2 80: 16 .LC3 82: 6d f2 mov.w r2,@-r7 84: 5e 00 00 00 jsr @0x0:24 84: 24/pcrell _printf 88: 0b 87 adds #2,r7 8a: 0b 87 adds #2,r7 0000008c <.L4>: 8c: 6f 62 ff fe mov.w @(0xfffe:16,r6),r2 90: 0b 02 adds #1,r2 92: 6f e2 ff fe mov.w r2,@(0xfffe:16,r6) 96: 5a 00 00 00 jmp @0x0:24 96: 24/pcrell .L2 0000009a <.L3>: 9a: 0d 20 mov.w r2,r0 9c: 0b 87 adds #2,r7 9e: 6d 76 mov.w @r7+,r6 a0: 54 70 rts
人生、宇宙、すべての答え+1
:
Keyword(s) (one keyword per line)
[FizzBuzzAsm_h8300-hms]
See
TextFormattingRules
for formatting help.
See TextFormattingRules for formatting help.