Add number of registers to platform

This commit is contained in:
2020-02-26 19:01:01 +02:00
parent 8df2e4bf08
commit 8832df3221
13 changed files with 63 additions and 33 deletions

View File

@ -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"