Re: A86: Re: Learn ASM? Check these out!
[Prev][Next][Index][Thread]
Re: A86: Re: Learn ASM? Check these out!
Looks like fun. I think I'd rather punch in the hex values for the opcodes.
At 09:34 PM 6/8/98 -0400, you wrote:
>
>If you think Asm is cryptic, you've not tried to program an HP. Here is the
>code for a >Frac program I just wrote (but doesn't malways return reduced
>fractions...):
>
><< -> a << 0 DO 1 + UNTIL DUP a * DUP IP == END DUP a * SWAP >> >>
>
>Matt2000 wrote:
>
>> >>Tell that to Matthew Shepcar (author of Rascall, Raptor, etc).. I
remember
>> >>his only
>> >>comment was like a smiley face or something.. Heheh
>> >
>> >Well, if that works for him. I find asm to be so cryptic it needs
>> >comments. But in other languages like C/C++ well written code kind of
>> >documents itself. None of those one letter variable names!
>>
>> Well asm is very cryptic.... I find myself not knowing what I am doing
>> unless I comment the source. It takes a long time
>> however. A better interrmediate solution is to comment each subroutine or
>> section and explain what it does, how it
>> does it, and whatever else is important. Sometimes commenting every line is
>> redudant and it takes a long time to get
>> things done. On my site I usually comment the difficult routines line by
>> line like FindPixel and PutSprite because these
>> are advanced routines that are hard to figure out without comments...
>>
>> Later,
>> Matt
>
>
>
>--
>Stephen Hicks
>mailto:shicks@mindspring.com
>ICQ:5453914
>IRC/AIM:Kupopo
>Hopemage:http://www.mindspring.com/~shicks/
>
>
>
// David Phillips
// mailto:electrum@tfs.net
// AIM: electrum32
Follow-Ups:
References: