Updated from r -> x in decode VIZ.
This commit is contained in:
parent
876efb8faa
commit
c3472c5480
|
@ -413,7 +413,7 @@ m4+definitions(['
|
||||||
// Instruction with values
|
// Instruction with values
|
||||||
|
|
||||||
let regStr = (valid, regNum, regValue) => {
|
let regStr = (valid, regNum, regValue) => {
|
||||||
return valid ? `r${regNum}` : `rX` // valid ? `r${regNum} (${regValue})` : `rX`
|
return valid ? `x${regNum}` : `xX` // valid ? `x${regNum} (${regValue})` : `xX`
|
||||||
}
|
}
|
||||||
let immStr = (valid, immValue) => {
|
let immStr = (valid, immValue) => {
|
||||||
immValue = parseInt(immValue,2) + 2*(immValue[0] << 31)
|
immValue = parseInt(immValue,2) + 2*(immValue[0] << 31)
|
||||||
|
|
Loading…
Reference in New Issue