Add number of registers to platform
This commit is contained in:
@ -13,6 +13,11 @@ module Risc
|
||||
# return an integer where the binary is loaded
|
||||
def loaded_at
|
||||
end
|
||||
|
||||
# return the number of registers the platform supports
|
||||
def num_registers
|
||||
end
|
||||
|
||||
# Factory method to create a Platform object according to the platform
|
||||
# string given.
|
||||
# Currently only "Arm" and "Interpreter"
|
||||
|
Reference in New Issue
Block a user