A89: ASM exectution questions


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

A89: ASM exectution questions




TI89 Question:

When one executes an assebmly program, is it copied from it's storage
location to an execution area (like in the TI86) or, is it just executed
where it is saved?

I ask this because in the 68K guide, I got the impression that variables
(within an 89/92 program) are saved even after the program exits, making
them available until the next time the program is run (like high scroes).

If that is the case (or even if it is not), that they are executed in
place, where are symbols resolved?  

When a program is compiled, the absolute locations of variables and/or
subroutines is not know. If using relative addressing, this is not a
problem but many instructions use absolute addresses. Those locations are
resolved during relocation.  

Where is this done?  I think it is done with the kernel, if using Doors or
PlusShell, but if not using those, where or how is that accomplished?

Others have said it is possible to write an assembly program that does not
require either Doors or PlusShell, but if not using them where or how are
these symbol locations resolved?




----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
----------------------------------------------------




Follow-Ups: