| ??? 08/22/02 09:11 Read: times |
#27690 - RE: declaring variables and registers |
Hi Jeff,
Why to estimate, let the linker to put the stack last. (Keil will put ?STACK segment for other tools take a look in the /LIB folder - you'll see a startup.a51 file) Example: ?STACK SEGMENT IDATA RSEG ?STACK DS 1</FONT"> ;.... reset: ;....clear mem etc... ;....end move the pointer... mov SP,#LOW(?STACK-1) |



