39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
compute:Dest:Dest:
|
|
compute:Dest:rDest:signed_word *:(&(CPU)->reg[Dest])
|
|
#
|
|
compute:Source1:Source1:
|
|
compute:Source1:rSource1:signed_word:(Source1 == 0 ? 0 : (CPU)->reg[Source1])
|
|
#
|
|
compute:Source2:Source2:
|
|
compute:Source2:rSource2:signed_word:(Source2 == 0 ? 0 : (CPU)->reg[Source2])
|
|
#
|
|
compute:Source:Source:
|
|
compute:Source:rSource:signed_word:(Source == 0 ? 0 : (CPU)->reg[Source])
|
|
#
|
|
compute:IndOff:IndOff:
|
|
compute:IndOff:rIndOff:signed_word:(IndOff == 0 ? 0 : (CPU)->reg[IndOff])
|
|
#
|
|
compute:Base:Base:
|
|
compute:Base:rBase:signed_word:(Base == 0 ? 0 : (CPU)->reg[Base])
|
|
#
|
|
compute:Link:Link:
|
|
compute:Link:rLink:signed_word:(&(CPU)->reg[Link])
|
|
#
|
|
# Trap Number
|
|
compute:UTN:UTN:
|
|
compute:INDTR:INDTR:
|
|
compute:INDTR:UTN:unsigned_word:(INDTR == 0 ? 0 : (CPU)->reg[INDTR])
|
|
#
|
|
compute:A:A:
|
|
#
|
|
compute:SignedImmediate:SignedImmediate:
|
|
compute:SignedImmediate:vSource1:signed_word:SEXT (SignedImmediate, 14)
|
|
#
|
|
compute:UnsignedImmediate:UnsignedImmediate:
|
|
compute:UnsignedImmediate:vSource1:signed_word:UnsignedImmediate
|
|
#
|
|
compute:BITNUM:BITNUM:
|
|
compute:Code:Code:
|
|
#
|
|
compute:SignedOffset:SignedOffset:
|
|
compute:SignedOffset:vSignedOffset:signed_word:SEXT (SignedOffset, 14)
|