Group configuration options into a single object, might be expanded with features to be implemented
The method runUntilPc is renamed to run because the value of pc to run up to is computed in the constructor (finalPc attribute). Having the relocation of memory and trace is much cleaner
Refactor memory constructor to initialize memory with no segments
Add test for printing methods of memory & relocated memory
Refactor the Cairo Runner to simplify it:
The method
runUntilPc
is renamed torun
because the value ofpc
to run up to is computed in the constructor (finalPc
attribute). Having the relocation of memory and trace is much cleaner