LF: Fargo programming
[Prev][Index][Thread]
LF: Fargo programming
I am new in 68k asm, more precisely in asm...
Here is a prog i wrote wich doesn' t work...
Could someone tell me what is wrong ?
Thanks
Mathieu <hm lacage@aol.com>
@Program prog_code,prog_name
prog_code:
jsr flib[clr_scr]
main:
jsr romlib[puttext]
move.l ess(PC),D0
bsr affich
jsr flib[idle_loop]
bsr fin
affich:
move.w #4,-(A7)
move.l D0,-(A7)
move.w #10,-(A7)
move.w #10,-(A7)
lea 10(A7),A7
fin:
rts
ess: dc.b "coucou",0
prog_name:
dc.b "essai",0
reloc_open
add_library romlib
add_library flib
reloc_close
end