Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;--------------------------------------------------------
- ; File Created by SDCC : free open source ANSI-C Compiler
- ; Version 3.3.0 #8604 (May 11 2013) (MINGW32)
- ; This file was generated Fri Aug 22 15:47:34 2014
- ;--------------------------------------------------------
- .module test
- .optsdcc -mz80
- ;--------------------------------------------------------
- ; Public variables in this module
- ;--------------------------------------------------------
- .globl _testInt
- .globl _testFunc
- .globl _main
- ;--------------------------------------------------------
- ; special function registers
- ;--------------------------------------------------------
- ;--------------------------------------------------------
- ; ram data
- ;--------------------------------------------------------
- .area _DATA
- ;--------------------------------------------------------
- ; ram data
- ;--------------------------------------------------------
- .area _INITIALIZED
- _testInt::
- .ds 4
- ;--------------------------------------------------------
- ; absolute external ram data
- ;--------------------------------------------------------
- .area _DABS (ABS)
- ;--------------------------------------------------------
- ; global & static initialisations
- ;--------------------------------------------------------
- .area _HOME
- .area _GSINIT
- .area _GSFINAL
- .area _GSINIT
- ;--------------------------------------------------------
- ; Home
- ;--------------------------------------------------------
- .area _HOME
- .area _HOME
- ;--------------------------------------------------------
- ; code
- ;--------------------------------------------------------
- .area _CODE
- ;test.c:9: unsigned int testFunc() __naked {
- ; ---------------------------------
- ; Function testFunc
- ; ---------------------------------
- _testFunc_start::
- _testFunc:
- ;test.c:13: __endasm;
- LD DE, 0
- RET
- _testFunc_end::
- ;test.c:16: void main() {
- ; ---------------------------------
- ; Function main
- ; ---------------------------------
- _main_start::
- _main:
- push ix
- ;test.c:17: while (1) {
- 00102$:
- ;test.c:18: testFunc();
- call _testFunc
- jr 00102$
- pop ix
- ret
- _main_end::
- .area _CODE
- .area _INITIALIZER
- __xinit__testInt:
- .byte #0xEF,#0xBE,#0xAD,#0xDE ; 3735928559
- .area _CABS (ABS)
Advertisement
Add Comment
Please, Sign In to add comment