| 89 | |
| 90 | |
| 91 | void cCPUMemory::Copy(int to, int from) |
| 92 | { |
| 93 | assert(to >= 0); |
| 94 | assert(to < m_seq.GetSize()); |
| 95 | assert(from >= 0); |
| 96 | assert(from < m_seq.GetSize()); |
| 97 | |
| 98 | m_seq[to] = m_seq[from]; |
| 99 | m_flag_array[to] = m_flag_array[from]; |
| 100 | } |
| 101 | |
| 102 | |
| 103 | void cCPUMemory::Insert(int pos, const Instruction& inst) |