4 ms·
only issues is there's a third type to consider which is a literal number. So I need to distinguish Register, Memory Location and Literal. I considered passing
by jtauber 15y ago
only issues is there's a third type to consider which is a literal number.
So I need to distinguish Register, Memory Location and Literal. I considered passing around a (type, value) tuple but conditional code based on type really tells the OO programmer in me that polymorphism should be used instead.
- ralph 15y agoThough looking at the code now it seems registers have been memory-mapped at 0x10000 and above?