diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-02 16:57:42 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-02 16:57:42 +0100 |
commit | d82cd16b55e57420a9df2fd5da5402d4701a9091 (patch) | |
tree | e67847e3cae5d616bd2c399b82cea5cc50cd4ec6 /qtmips_gui | |
parent | b1f0e4fcc83c7692f4b066fcc026d77a051c1d7d (diff) | |
download | qtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.tar.gz qtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.tar.bz2 qtmips-d82cd16b55e57420a9df2fd5da5402d4701a9091.zip |
Correct ALU test for SUB exception.
The operation 3 - 4 = 1 is legal integer arithmetic
operation. Changed to
0x80000003 - 4 = 0x7fffffff
2147483651 - 4 = 2147483647
which overflows.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
0 files changed, 0 insertions, 0 deletions