-
thomas@cs.ru.nl authored
* the heap starts at a fixed position in memory and grows in the same direction as the stack (away from it) * the next free address in the heap is stored in register R4(HP) * there are four instructions to store/load to/from the heap (STH, STMH s, LDH o, and LDMH o s where o is an offset and s a size), producing and consuming an address respectively
af429f49