Jump IAR
(address uint16)
| 520 | |
| 521 | // Jump IAR |
| 522 | func (c *CPU) SetIAR(address uint16) { |
| 523 | c.mainBus.SetValue(address) |
| 524 | |
| 525 | updateSetStatus(&c.iar, true) |
| 526 | runUpdateOn(&c.iar) |
| 527 | updateSetStatus(&c.iar, false) |
| 528 | runUpdateOn(&c.iar) |
| 529 | |
| 530 | c.clearMainBus() |
| 531 | } |
| 532 | |
| 533 | func (c *CPU) Step() { |
| 534 | for i := 0; i < 2; i++ { |