* .version: Updated to 2.3.1
[fw/sdcc] / device / lib / z80 / crt0.s
index 23843568f76eec4bf474141185bc912f3c3102cf..5aa3991d315bc0b3ec33db66401ad7604a2e1ae0 100644 (file)
@@ -1,5 +1,6 @@
        ;; Generic crt0.s for a Z80
-       .globl  _main
+        .module crt0
+               .globl  _main
 
        .area _HEADER (ABS)
        ;; Reset vector
@@ -45,16 +46,6 @@ __clock::
         rst     0x08
        ret
        
-_getsp::
-       ld      hl,#0
-       add     hl,sp
-       ret
-
-__printTStates::       
-       ld      a,#3
-       out     (0xff),a
-       ret
-
 _exit::
        ;; Exit - special code to the emulator
        ld      a,#0