Hi, hit9918 wrote me the follow code crt0.s.
.module crt0 .globl _main ;; Ordering of segments for the linker. .area _HOME .area _CODE .area _GSINIT .area _GSFINAL .area _INITIALIZER .area _DATA .area _INITIALIZED .area _BSEG .area _BSS .area _HEAP .area _STACK .area _STACK stacksize = 64 .ds stacksize stack: .area _CODE DI ld sp,#stack call gsinit call _main di halt .area _GSINIT gsinit:: ld bc, #l__INITIALIZER ;<---- there is an error ld a, b or a, c jr Z, gsinit_next ld de, #s__INITIALIZED ;<---- there is an error ld hl, #s__INITIALIZER ;<---- there is an error ldir gsinit_next: .area _GSFINAL ret
When I compiled that the compiler told me that there is three errors.
I tried to resolve that errors but I didn' t understand where is the errors and why.
My error message is this:
crt0calc.s:40 Error: <u> undefined symbol encountered during assembly crt0calc.s:44 Error: <u> undefined symbol encountered during assembly crt0calc.s:45 Error: <u> undefined symbol encountered during assembly
Anybody can help me?
ログイン/登録して投稿