Renamed the global 'PARTITION_SIZE' to 'ADDRESS_SPACE_MAX' to represent the maximum address space size per process.
Renamed the global 'MEMORY_MANAGER_IRQ' to 'MEMORY_ERROR_IRQ'.
Changed the value of MAX_PROCESSES to 3.
Changed the value of ACCESS_VIOLATION_ERROR to -2.
Changed the value of OUT_OF_MEMORY_ERROR to -1.
Modified all inequality expressions to use the '===' operator rather than '=='.
Fixed a bug in the BNE CPU instruction where the branch address was miscalculated in certain cases.
Modified the MMU allocate function to return a negative value if the allocation failed. This allows the kernel to handle out-of-memory errors appropriately.
Updated references to the global 'MEMORY_MANAGER_IRQ' to reflect the new name of 'MEMORY_ERROR_IRQ'.
Modified the console's putText method to handle word-wrapping.
Implemented the interrupt handler routine for memory related interrupt errors.
Modified krnNewProcess to check for an OUT_OF_MEMORY_ERROR and handle it appropriately.
Modified the shell's loadProgram routine to output an error message if the load failed due to an out-of-memory error.
Added the skeleton for the kill command.
Modified the shell's runAll command to use constants instead of magic numbers.