;;;----------------------------------------- ;;; Start MC68HC11 gcc assembly output ;;; gcc compiler 3.0.4 m68hc1x-20030430 ;;; Command: \Program Files\THRSim11\gcc\\lib\gcc-lib\m6811-elf\3.0.4\cc1plus.exe -iprefix C:/Program Files/THRSim11/gcc/m6811-elf/bin//..\lib/gcc-lib/m6811-elf\3.0.4\ -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -Dmc68hc1x -D__mc68hc1x__ -D__mc68hc1x -D__CHAR_UNSIGNED__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Wall -D__INT__=32 -D__INT_MAX__=2147483647 -Dmc6811 -DMC6811 -Dmc68hc11 hello.cpp -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase hello.cpp -m68hc11 -g -Wall -o hello.s ;;; Compiled: Wed Oct 06 11:13:38 2004 ;;; (META)compiled by GNU C version 2.95.3-7 (mingw experimental). ;;;----------------------------------------- .file "hello.cpp" .mode mlong .mode mlong-double .section .debug_abbrev .Ldebug_abbrev0: .section .text .Ltext0: .section .debug_info .Ldebug_info0: .section .debug_line .Ldebug_line0: .sect .text .globl _Z5onsciv .type _Z5onsciv,@function _Z5onsciv: .LFB1: .LM1: ldx *_.frame pshx sts *_.frame .LM2: ldx #4139 ldab #48 stab 0,x .LM3: ldx #4140 clr 0,x .LM4: ldx #4141 ldab #12 stab 0,x .LM5: pulx stx *_.frame rts .LFE1: .Lfe1: .size _Z5onsciv,.Lfe1-_Z5onsciv .globl _Z6outputc .type _Z6outputc,@function _Z6outputc: .LFB2: .LM6: ldx *_.frame pshx des sts *_.frame ldx *_.frame stab 1,x .LM7: .L4: ldx #4142 ldab 0,x andb #128 cmpb #0 beq .L4 .LM8: ldx *_.frame ldab 1,x andb #127 ldx #4143 stab 0,x .LM9: ins pulx stx *_.frame rts .LFE2: .Lfe2: .size _Z6outputc,.Lfe2-_Z6outputc .globl _Z7outcrlfv .type _Z7outcrlfv,@function _Z7outcrlfv: .LFB3: .LM10: ldx *_.frame pshx sts *_.frame .LM11: ldab #13 bsr _Z6outputc .LM12: ldab #10 bsr _Z6outputc .LM13: pulx stx *_.frame rts .LFE3: .Lfe3: .size _Z7outcrlfv,.Lfe3-_Z7outcrlfv .globl _Z7outstrgPKc .type _Z7outstrgPKc,@function _Z7outstrgPKc: .LFB4: .LM14: ldx *_.frame pshx pshx sts *_.frame ldx *_.frame std 1,x .LM15: .L11: ldy *_.frame ldx 1,y ldab 0,x cmpb #4 bne .L13 bra .L14 .L13: .LM16: ldy *_.frame ldx 1,y ldab 0,x inx stx 1,y bsr _Z6outputc bra .L11 .L14: .LM17: pulx pulx stx *_.frame rts .LFE4: .Lfe4: .size _Z7outstrgPKc,.Lfe4-_Z7outstrgPKc .section .rodata .LC0: .string "Hello World\004" .sect .text .globl main .type main,@function main: .LFB5: .LM18: ldx *_.frame pshx pshx pshx sts *_.frame .LM19: bsr _Z5onsciv .LM20: ldd #.LC0 bsr _Z7outstrgPKc .LM21: bsr _Z7outcrlfv .LM22: .LBB2: ldy *_.frame ldd #48 std 3,y clra clrb std 1,y .L16: ldx *_.frame ldx 1,x cpx #0 blt .L19 ldy *_.frame ldd 1,y cpd #0 bgt .L17 ldx *_.frame ldx 3,x cpx #57 bls .L19 bra .L17 .L19: .LM23: ldy *_.frame ldab 4,y bsr _Z6outputc .LM24: ldy *_.frame ldd 3,y ldx 1,y addd #1 bcc .L22 inx .L22: std 3,y stx 1,y bra .L16 .L17: .LBE2: .LM25: clra clrb ldx #0 .LM26: puly puly puly sty *_.frame rts .LFE5: .Lfe5: .size main,.Lfe5-main .section .rodata .type CONFIG_BASE,@object .size CONFIG_BASE,2 CONFIG_BASE: .word 4096 .type BAUD,@object .size BAUD,2 BAUD: .word 4139 .type SCCR1,@object .size SCCR1,2 SCCR1: .word 4140 .type SCCR2,@object .size SCCR2,2 SCCR2: .word 4141 .type SCSR,@object .size SCSR,2 SCSR: .word 4142 .type SCDAT,@object .size SCDAT,2 SCDAT: .word 4143 .type BIT0,@object .size BIT0,1 BIT0: .byte 1 .type BIT1,@object .size BIT1,1 BIT1: .byte 2 .type BIT2,@object .size BIT2,1 BIT2: .byte 4 .type BIT3,@object .size BIT3,1 BIT3: .byte 8 .type BIT4,@object .size BIT4,1 BIT4: .byte 16 .type BIT5,@object .size BIT5,1 BIT5: .byte 32 .type BIT6,@object .size BIT6,1 BIT6: .byte 64 .type BIT7,@object .size BIT7,1 BIT7: .byte 128 .type SCP1,@object .size SCP1,1 SCP1: .byte 32 .type SCP0,@object .size SCP0,1 SCP0: .byte 16 .type TE,@object .size TE,1 TE: .byte 8 .type RE,@object .size RE,1 RE: .byte 4 .type TDRE,@object .size TDRE,1 TDRE: .byte 128 .section .text .Letext0: .section .debug_line .4byte .LELT0-.LSLT0 .LSLT0: .2byte 0x2 .4byte .LELTP0-.LASLTP0 .LASLTP0: .byte 0x4 .byte 0x1 .byte 0xf6 .byte 0xf5 .byte 0xa .byte 0x0 .byte 0x1 .byte 0x1 .byte 0x1 .byte 0x1 .byte 0x0 .byte 0x0 .byte 0x0 .byte 0x1 .byte 0x0 .string "hello.cpp" .byte 0x0 .byte 0x0 .byte 0x0 .byte 0x0 .LELTP0: .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM1 .byte 0x35 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM2 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM3 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM4 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM5 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM6 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM7 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM8 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM9 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM10 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM11 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM12 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM13 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM14 .byte 0x17 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM15 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM16 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM17 .byte 0x16 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM18 .byte 0x16 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM19 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM20 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM21 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM22 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM23 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM24 .byte 0x13 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM25 .byte 0x16 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .LM26 .byte 0x15 .byte 0x0 .byte 0x5 .byte 0x2 .4byte .Letext0 .byte 0x0 .byte 0x1 .byte 0x1 .LELT0: .section .debug_info .4byte 0x343 .2byte 0x2 .4byte .Ldebug_abbrev0 .byte 0x4 .byte 0x1 .4byte .Ldebug_line0 .4byte .Letext0 .4byte .Ltext0 .string "hello.cpp" .string "C:\\Documents and Settings\\Dr. Michael Frank\\My Documents\\Organized\\Current\\EEL4746\\Programs\\Hello World\\C++ hellocount" .string "GNU C++ 3.0.4 m68hc1x-20030430" .byte 0x4 .byte 0x2 .byte 0x1 .string "onsci" .byte 0x1 .byte 0x22 .string "_Z5onsciv" .4byte .LFB1 .4byte .LFE1 .byte 0x1 .byte 0x59 .byte 0x3 .4byte 0x108 .byte 0x1 .string "output" .byte 0x1 .byte 0x29 .string "_Z6outputc" .4byte .LFB2 .4byte .LFE2 .byte 0x1 .byte 0x59 .byte 0x4 .string "a" .byte 0x1 .byte 0x29 .4byte 0x108 .byte 0x2 .byte 0x91 .byte 0x1 .byte 0x0 .byte 0x5 .4byte 0x10d .byte 0x6 .string "char" .byte 0x1 .byte 0x7 .byte 0x2 .byte 0x1 .string "outcrlf" .byte 0x1 .byte 0x2f .string "_Z7outcrlfv" .4byte .LFB3 .4byte .LFE3 .byte 0x1 .byte 0x59 .byte 0x3 .4byte 0x172 .byte 0x1 .string "outstrg" .byte 0x1 .byte 0x35 .string "_Z7outstrgPKc" .4byte .LFB4 .4byte .LFE4 .byte 0x1 .byte 0x59 .byte 0x4 .string "pString" .byte 0x1 .byte 0x35 .4byte 0x172 .byte 0x2 .byte 0x91 .byte 0x1 .byte 0x0 .byte 0x7 .byte 0x2 .4byte 0x108 .byte 0x8 .4byte 0x1a0 .byte 0x1 .string "main" .byte 0x1 .byte 0x3b .4byte 0x1a0 .4byte .LFB5 .4byte .LFE5 .byte 0x1 .byte 0x59 .byte 0x9 .string "i" .byte 0x1 .byte 0x3f .4byte 0x1a0 .byte 0x2 .byte 0x91 .byte 0x1 .byte 0x0 .byte 0x6 .string "int" .byte 0x4 .byte 0x5 .byte 0xa .string "__fundamental_type_info" .byte 0x1 .byte 0x6 .string "bool" .byte 0x1 .byte 0x2 .byte 0x9 .string "CONFIG_BASE" .byte 0x1 .byte 0x9 .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte CONFIG_BASE .byte 0x5 .4byte 0x1e7 .byte 0x7 .byte 0x2 .4byte 0x1ed .byte 0x6 .string "unsigned char" .byte 0x1 .byte 0x8 .byte 0x9 .string "BAUD" .byte 0x1 .byte 0xb .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte BAUD .byte 0x9 .string "SCCR1" .byte 0x1 .byte 0xc .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte SCCR1 .byte 0x9 .string "SCCR2" .byte 0x1 .byte 0xd .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte SCCR2 .byte 0x9 .string "SCSR" .byte 0x1 .byte 0xe .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte SCSR .byte 0x9 .string "SCDAT" .byte 0x1 .byte 0xf .4byte 0x1e2 .byte 0x5 .byte 0x3 .4byte SCDAT .byte 0x9 .string "BIT0" .byte 0x1 .byte 0x13 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT0 .byte 0x5 .4byte 0x1ed .byte 0x9 .string "BIT1" .byte 0x1 .byte 0x13 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT1 .byte 0x9 .string "BIT2" .byte 0x1 .byte 0x13 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT2 .byte 0x9 .string "BIT3" .byte 0x1 .byte 0x13 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT3 .byte 0x9 .string "BIT4" .byte 0x1 .byte 0x14 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT4 .byte 0x9 .string "BIT5" .byte 0x1 .byte 0x14 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT5 .byte 0x9 .string "BIT6" .byte 0x1 .byte 0x14 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT6 .byte 0x9 .string "BIT7" .byte 0x1 .byte 0x14 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte BIT7 .byte 0x9 .string "SCP1" .byte 0x1 .byte 0x19 .4byte 0x26d .byte 0x5 .byte 0x3 .4byte SCP1 .byte 0x9 .string "SCP0" .byte 0x1 .byte 0x1a .4byte 0x26d .byte 0x5 .byte 0x3 .4byte SCP0 .byte 0x9 .string "TE" .byte 0x1 .byte 0x1c .4byte 0x26d .byte 0x5 .byte 0x3 .4byte TE .byte 0x9 .string "RE" .byte 0x1 .byte 0x1d .4byte 0x26d .byte 0x5 .byte 0x3 .4byte RE .byte 0x9 .string "TDRE" .byte 0x1 .byte 0x1f .4byte 0x26d .byte 0x5 .byte 0x3 .4byte TDRE .byte 0x0 .section .debug_abbrev .byte 0x1 .byte 0x11 .byte 0x1 .byte 0x10 .byte 0x6 .byte 0x12 .byte 0x1 .byte 0x11 .byte 0x1 .byte 0x3 .byte 0x8 .byte 0x1b .byte 0x8 .byte 0x25 .byte 0x8 .byte 0x13 .byte 0xb .byte 0x0 .byte 0x0 .byte 0x2 .byte 0x2e .byte 0x0 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x87,0x40 .byte 0x8 .byte 0x11 .byte 0x1 .byte 0x12 .byte 0x1 .byte 0x40 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x3 .byte 0x2e .byte 0x1 .byte 0x1 .byte 0x13 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x87,0x40 .byte 0x8 .byte 0x11 .byte 0x1 .byte 0x12 .byte 0x1 .byte 0x40 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x4 .byte 0x5 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x2 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x5 .byte 0x26 .byte 0x0 .byte 0x49 .byte 0x13 .byte 0x0 .byte 0x0 .byte 0x6 .byte 0x24 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0xb .byte 0xb .byte 0x3e .byte 0xb .byte 0x0 .byte 0x0 .byte 0x7 .byte 0xf .byte 0x0 .byte 0xb .byte 0xb .byte 0x49 .byte 0x13 .byte 0x0 .byte 0x0 .byte 0x8 .byte 0x2e .byte 0x1 .byte 0x1 .byte 0x13 .byte 0x3f .byte 0xc .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x11 .byte 0x1 .byte 0x12 .byte 0x1 .byte 0x40 .byte 0xa .byte 0x0 .byte 0x0 .byte 0x9 .byte 0x34 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0x3a .byte 0xb .byte 0x3b .byte 0xb .byte 0x49 .byte 0x13 .byte 0x2 .byte 0xa .byte 0x0 .byte 0x0 .byte 0xa .byte 0x13 .byte 0x0 .byte 0x3 .byte 0x8 .byte 0x3c .byte 0xc .byte 0x0 .byte 0x0 .byte 0x0 .section .debug_pubnames .4byte 0x44 .2byte 0x2 .4byte .Ldebug_info0 .4byte 0x347 .4byte 0xb9 .string "onsci" .4byte 0xd7 .string "output" .4byte 0x115 .string "outcrlf" .4byte 0x137 .string "outstrg" .4byte 0x178 .string "main" .4byte 0x0 .section .debug_aranges .4byte 0x1c .2byte 0x2 .4byte .Ldebug_info0 .byte 0x4 .byte 0x0 .2byte 0x0 .2byte 0x0 .4byte .Ltext0 .4byte .Letext0-.Ltext0 .4byte 0x0 .4byte 0x0 .sect .data .ident "GCC: (GNU) 3.0.4 m68hc1x-20030430"