[A83] Re: Excuse me for asking:
[Prev][Next][Index][Thread]
[A83] Re: Excuse me for asking:
<snip>
>Once you can actually run some code of your own, look at what other people
>have written. Pick something simple, like tic-tac-toe. That was my first
>"large" assembly program for the 86 (the source is even on ticalc.org, if
>you want to see how much I sucked at z80 back then).
Ah. Is that this program?
#include "ti86asm.inc"
.org _asm_exec_ram
call _clrScrn
call _homeup
ld a,84
call _putc
ld a,73
call _putc
ld a,67
call _putc
ld a,84
call _putc
ld a,65
call _putc
ld a,67
call _putc
ld a,84
call _putc
ld a,79
call _putc
ld a,69
call _putc
call _pause
call _homeup
call _clrScrn
ld a,66
call _putc
ld a,89
call _putc
ld a,3
Well, congratulations, you, David Phillips, are the winner of The Ccg Award
(http://www.crappycodersguild.cjb.net)
>It is good to pick a
>goal because it will force you to learn some things that you might not
learn
>just playing around, and it forces you to write more code than just little
>test snippets. It gets you going with things like data structures, control
>structures, logic, etc., which are a bit hard to do at first in assembly.
>
>So, get to work on that "hello world" program, and in time you'll gain the
>skills necessary to write a grayscale picture scroller :)
>
>> I guess i did overreact a bit. To you "David Phillips", i apologise for
my
>> words, and for making an incorrect assumption of you. Hopefully you
aren't
>> too annoyed with me at the moment. It is true that i am new to the z80
asm
>> scene, but i am eager to learn. And thanks to Peter Martijn, for the
>example
>> code.
--
|--Ronald Teune
--
Follow-Ups: