Re: A83: running assembler


[Prev][Next][Index][Thread]

Re: A83: running assembler




On 05-Feb-99, Dexter Fletcher (dexterfletcher@hotmail.com) wrote:

>Hey!
>Does anyone know how to run an assembler program in a similar way to Sos 
>and Ashell (writeback, etc..)
>Thanks....

>_____________________________________
>Get Private at http://www.hotmail.com


Depends on what kind of asm program it is. If it is in the format "hex
numbers End memsize End" you can run it through _EXEC_ASSEMBLY with the
program name in OP1, but you have to preserve usermem_offset (8565h I think)
first. If it is a squished program you'll have to copy it to 9327h yourself,
making space with _INSERTMEM first. You might want to preserve usermem_offset
too. In either case, you must add an error handler to restore usermem_offset
if the asm program invokes some _ERR* function.

Linus

.--> ____
|    \OO/     -  -- --- ------ Linus Akesson -- http://fly.to/linus.world -.
`-OoO-\/-OoO---------------------------------------------------------------'
                         Hit any user to continue.
                         ----> MrCookie v1.1 <----



References: