summaryrefslogtreecommitdiffstats
path: root/sw/z80/build/kernel/kernel.lst
blob: 8ec743805a27a0b17eb0012fd43e62552b2406bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
                              1 ;--------------------------------------------------------
                              2 ; File Created by SDCC : free open source ANSI-C Compiler
                              3 ; Version 3.5.0 #9253 (Mar 24 2016) (Linux)
                              4 ; This file was generated Tue May  2 18:13:35 2017
                              5 ;--------------------------------------------------------
                              6 	.module kernel
                              7 	.optsdcc -mz80
                              8 	
                              9 ;--------------------------------------------------------
                             10 ; Public variables in this module
                             11 ;--------------------------------------------------------
                             12 	.globl _main
                             13 ;--------------------------------------------------------
                             14 ; special function registers
                             15 ;--------------------------------------------------------
                             16 ;--------------------------------------------------------
                             17 ; ram data
                             18 ;--------------------------------------------------------
                             19 	.area _DATA
                             20 ;--------------------------------------------------------
                             21 ; ram data
                             22 ;--------------------------------------------------------
                             23 	.area _INITIALIZED
                             24 ;--------------------------------------------------------
                             25 ; absolute external ram data
                             26 ;--------------------------------------------------------
                             27 	.area _DABS (ABS)
                             28 ;--------------------------------------------------------
                             29 ; global & static initialisations
                             30 ;--------------------------------------------------------
                             31 	.area _HOME
                             32 	.area _GSINIT
                             33 	.area _GSFINAL
                             34 	.area _GSINIT
                             35 ;--------------------------------------------------------
                             36 ; Home
                             37 ;--------------------------------------------------------
                             38 	.area _HOME
                             39 	.area _HOME
                             40 ;--------------------------------------------------------
                             41 ; code
                             42 ;--------------------------------------------------------
                             43 	.area _CODE
                             44 ;kernel/kernel.c:4: void main(void)
                             45 ;	---------------------------------
                             46 ; Function main
                             47 ; ---------------------------------
   0000                      48 _main::
                             49 ;kernel/kernel.c:7: for (i = 0; i < 10; i++) {
   0000 11 0A 00      [10]   50 	ld	de,#0x000A
   0003                      51 00104$:
                             52 ;kernel/kernel.c:8: j--;
   0003 4B            [ 4]   53 	ld	c,e
   0004 42            [ 4]   54 	ld	b,d
   0005 0B            [ 6]   55 	dec	bc
   0006 59            [ 4]   56 	ld	e, c
                             57 ;kernel/kernel.c:7: for (i = 0; i < 10; i++) {
   0007 78            [ 4]   58 	ld	a,b
   0008 57            [ 4]   59 	ld	d,a
   0009 B1            [ 4]   60 	or	a,c
   000A 20 F7         [12]   61 	jr	NZ,00104$
   000C C9            [10]   62 	ret
                             63 	.area _CODE
                             64 	.area _INITIALIZER
                             65 	.area _CABS (ABS)