1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-25 12:29:34 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Peter Evans
c53c7bfd1d Add function to return true if an instruction would write to memory 2018-04-21 23:15:48 -05:00
Peter Evans
37f9e627ba Change from last_opcode/last_operand to opcode/operand
This change also makes it so that those values are set once they are
known, rather than only at the end of the execute function.
2018-04-21 23:14:32 -05:00
Peter Evans
8e810e724f Add addr_mode field, rely upon it vs. the opcode
This makes testing _slightly_ easier, because now the handlers require a
type of state in the cpu vs. a specific opcode state in the segment that
we execute from. (The latter being just more complex to work with and
require in testing.)
2018-04-15 00:56:34 -05:00
Peter Evans
74aafb0d01 Reorganizing files into directories 2018-04-06 20:27:47 -05:00