> Yes, but
per my earlier example.... are we shooting for less
instructions in
> the program or less intructions executed in
total for the program?
(ie, your
23 byte
example is calling dos system services, so.... lots of additional
instructions there).
Well, this all started when Iggy said there wasn't a PRINT language
element in Assembly, so I suppose it's the easiest way to get something
printed, which means using built in system support.
Fine then -- Commodores can just STA directly to screen memory (exercise
left for the reader). :-)
I can do better (if someone hasn't already) -- this is for the Sol:
ORG 0000h
JMP 0000h
ORG 0CC00h
DB 'Hello World!'
That is 15 bytes, and executes in 0 cycles.
The Sol's screen is memory mapped and begins at 0xCC00. Let the program
loader take care of it for you.
-----
Jim Battle == frustum(a)pacbell.net