This interface defines the ARM processor
Method: resume()
Resumes execution at current PC, you can use this method along with halt to debug, and change register values at runtime Example: >>>processor.halt() >>>processor.r0 45L >>>processor.r0 = 15 >>>processor.resume()
Method: statusFlag(flag)
Returns the value of a status flag, values allowed to the flag variable are: ‘M’ for mode ‘T’ for thumb instruction set (altough this isn’t supported) ‘J’ for Jazzelle instruction set (it isn’t supported yet)
You can read about the rest of the bits in the ARM Architecture Manual ‘F’ ‘I’ ‘A’ ‘E’ ‘GE’ ‘Q’
and condition code flags: ‘V’ oVerflow ‘C’ Carry ‘Z’ Zero ‘N’ Negative
Method: step()
Jumps to the next instruction, processor automatically executes this after a fetch
Method: setStatusFlag(flag, value)
Used to change status flags, values allowed to the flag variable are: ‘M’ for mode ‘T’ for thumb instruction set (altough this isn’t supported) ‘J’ for Jazzelle instruction set (it isn’t supported yet)
You can read about the rest of the bits in the ARM Architecture Manual ‘F’ ‘I’ ‘A’ ‘E’ ‘GE’ ‘Q’
and condition code flags: ‘V’ oVerflow ‘C’ Carry ‘Z’ Zero ‘N’ Negative