diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 23:05:51 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 23:05:51 +0100 |
commit | 0137207cb51ef3dd8b097d6cf88fd627fc468af2 (patch) | |
tree | 09c8a075752f7ed3837f2474e2484416d3f8cf51 /tests/machine-unit-tests | |
parent | bad9f0780e8dfca230e0cc6c32d60e845887aaf9 (diff) | |
download | qtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.tar.gz qtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.tar.bz2 qtmips-0137207cb51ef3dd8b097d6cf88fd627fc468af2.zip |
Exception handlers require even PC of the jump or branch instruction before delay slot.
When exception occurs at instruction in delay slot, the address
of branch/delay instruction is stored to EPC instead of address
of instruction causing the exception. So that address has
to be delivered to exception handling object.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'tests/machine-unit-tests')
0 files changed, 0 insertions, 0 deletions