mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
clarify progend()
This commit is contained in:
parent
a8c09d6144
commit
84a7e86fe3
@ -102,9 +102,11 @@ sys (part of syslib)
|
||||
the irqd status bit if it was cleared before entering).
|
||||
|
||||
``progend ()``
|
||||
Returns the last address of the program in memory + 1.
|
||||
Returns the last address of the program in memory + 1. This means: the memory address directly after all the program code and variables,
|
||||
including the uninitialized ones ("BSS" variables) and the uninitialized memory blocks reserved by the `memory()` function.
|
||||
Can be used to load dynamic data after the program, instead of hardcoding something.
|
||||
|
||||
|
||||
``wait (uword jiffies)``
|
||||
wait approximately the given number of jiffies (1/60th seconds)
|
||||
Note: the regular system irq handler has run for this to work as it depends on the system jiffy clock.
|
||||
|
Loading…
x
Reference in New Issue
Block a user