summaryrefslogtreecommitdiffstats
path: root/sw/z80/build/kernel/kernel.lst
blob: e839f83a5713f85e0d6f1cff3db2c188f7801a1f (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
66
                              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 Wed Aug 23 21:44:59 2017
                              5 ;--------------------------------------------------------
                              6 	.module kernel
                              7 	.optsdcc -mz80
                              8 	
                              9 ;--------------------------------------------------------
                             10 ; Public variables in this module
                             11 ;--------------------------------------------------------
                             12 	.globl _kmain
                             13 	.globl _usart_init
                             14 ;--------------------------------------------------------
                             15 ; special function registers
                             16 ;--------------------------------------------------------
                             17 ;--------------------------------------------------------
                             18 ; ram data
                             19 ;--------------------------------------------------------
                             20 	.area _DATA
                             21 ;--------------------------------------------------------
                             22 ; ram data
                             23 ;--------------------------------------------------------
                             24 	.area _INITIALIZED
                             25 ;--------------------------------------------------------
                             26 ; absolute external ram data
                             27 ;--------------------------------------------------------
                             28 	.area _DABS (ABS)
                             29 ;--------------------------------------------------------
                             30 ; global & static initialisations
                             31 ;--------------------------------------------------------
                             32 	.area _HOME
                             33 	.area _GSINIT
                             34 	.area _GSFINAL
                             35 	.area _GSINIT
                             36 ;--------------------------------------------------------
                             37 ; Home
                             38 ;--------------------------------------------------------
                             39 	.area _HOME
                             40 	.area _HOME
                             41 ;--------------------------------------------------------
                             42 ; code
                             43 ;--------------------------------------------------------
                             44 	.area _CODE
                             45 ;kernel/kernel.c:4: void kmain(void)
                             46 ;	---------------------------------
                             47 ; Function kmain
                             48 ; ---------------------------------
   0000                      49 _kmain::
                             50 ;kernel/kernel.c:6: usart_init(USART_BAUDRATE_9600, USART_PARITY_EVEN, USART_STOP_BITS_1);
   0000 21 0A 00      [10]   51 	ld	hl,#0x000A
   0003 E5            [11]   52 	push	hl
   0004 2E 01         [ 7]   53 	ld	l, #0x01
   0006 E5            [11]   54 	push	hl
   0007 21 00 00      [10]   55 	ld	hl,#0x0000
   000A E5            [11]   56 	push	hl
   000B 21 0C 00      [10]   57 	ld	hl,#0x000C
   000E E5            [11]   58 	push	hl
   000F CDr00r00      [17]   59 	call	_usart_init
   0012 21 08 00      [10]   60 	ld	hl,#8
   0015 39            [11]   61 	add	hl,sp
   0016 F9            [ 6]   62 	ld	sp,hl
   0017 C9            [10]   63 	ret
                             64 	.area _CODE
                             65 	.area _INITIALIZER
                             66 	.area _CABS (ABS)