summaryrefslogtreecommitdiff
path: root/main_sdcc.asm
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-23 16:57:57 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-23 16:57:57 +0200
commit8eeb5d5444b2f29aa56fb1f0f8f20955c160e99e (patch)
treef983e83ad068b7d03ecb772a61195b42aaf293d5 /main_sdcc.asm
parent9c47d08e98953623ceac02c8422863e593deb40e (diff)
downloadsdcc-gas-8eeb5d5444b2f29aa56fb1f0f8f20955c160e99e.tar.gz
Removed intermediate files
Diffstat (limited to 'main_sdcc.asm')
-rw-r--r--main_sdcc.asm98
1 files changed, 0 insertions, 98 deletions
diff --git a/main_sdcc.asm b/main_sdcc.asm
deleted file mode 100644
index b9bb3a7..0000000
--- a/main_sdcc.asm
+++ /dev/null
@@ -1,98 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.9.3 #11345 (Linux)
-;--------------------------------------------------------
- .module main_sdcc
- .optsdcc -mstm8
-
-;--------------------------------------------------------
-; Public variables in this module
-;--------------------------------------------------------
- .globl _main
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area DATA
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area INITIALIZED
-;--------------------------------------------------------
-; Stack segment in internal ram
-;--------------------------------------------------------
- .area SSEG
-__start__stack:
- .ds 1
-
-;--------------------------------------------------------
-; absolute external ram data
-;--------------------------------------------------------
- .area DABS (ABS)
-
-; default segment ordering for linker
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area CONST
- .area INITIALIZER
- .area CODE
-
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
- .area HOME
-__interrupt_vect:
- int s_GSINIT ; reset
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area GSINIT
-__sdcc_gs_init_startup:
-__sdcc_init_data:
-; stm8_genXINIT() start
- ldw x, #l_DATA
- jreq 00002$
-00001$:
- clr (s_DATA - 1, x)
- decw x
- jrne 00001$
-00002$:
- ldw x, #l_INITIALIZER
- jreq 00004$
-00003$:
- ld a, (s_INITIALIZER - 1, x)
- ld (s_INITIALIZED - 1, x), a
- decw x
- jrne 00003$
-00004$:
-; stm8_genXINIT() end
- .area GSFINAL
- jp __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
- .area HOME
- .area HOME
-__sdcc_program_startup:
- jp _main
-; return from main will return to caller
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- .area CODE
-; /home/xavier/main_sdcc.c: 1: int main()
-; -----------------------------------------
-; function main
-; -----------------------------------------
-_main:
-; /home/xavier/main_sdcc.c: 3: return 0;
- clrw x
-; /home/xavier/main_sdcc.c: 4: }
- ret
- .area CODE
- .area CONST
- .area INITIALIZER
- .area CABS (ABS)