All pastes #839273 Raw Edit

Miscellany

public text v1 · immutable
#839273 ·published 2007-12-30 23:04 UTC
rendered paste body
;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.6.0 #4309 (Nov 10 2006)
; This file generated Sun Dec 30 17:02:26 2007
;--------------------------------------------------------
	.module test
	.optsdcc -mz80
	
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl _main
;--------------------------------------------------------
; special function registers
;--------------------------------------------------------
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area _DATA
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area _OVERLAY
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area _HOME
	.area _GSINIT
	.area _GSFINAL
	.area _GSINIT
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area _HOME
	.area _CODE
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area _CODE
;test.c:1: void main() {
;	genLabel
;	genFunction
;	---------------------------------
; Function main
; ---------------------------------
_main_start::
_main:
;test.c:3: for(i=0;i<=10;i++) {
;	genAssign
	ld	c,#0x0B
;	genLabel
00103$:
;	genMinus
	dec	c
;	genIfx
	xor	a,a
	or	a,c
	jp	nz,00103$
;	genLabel
00104$:
;	genEndFunction
	ret
_main_end::
	.area _CODE