old-cross-binutils/sim/tic80/ic

53 lines
1.6 KiB
Text
Raw Normal View History

compute:Dest:Dest:
1997-04-23 13:56:14 +00:00
compute:Dest:rDest:signed_word *:(&(CPU)->reg[Dest])
#
compute:Source1:Source1:
compute:Source1:vSource1:signed_word:(GPR (Source1) + 0)
#compute:Source1:vSource1:signed_word:(Source1 == 0 ? 0 : (CPU)->reg[Source1])
#
compute:Source2:Source2:
compute:Source2:vSource2:signed_word:(GPR (Source2) + 0)
#compute:Source2:vSource2:signed_word:(Source2 == 0 ? 0 : (CPU)->reg[Source2])
#
compute:Source:Source:
compute:Source:vSource:signed_word:(GPR (Source) + 0)
#compute:Source:vSource:signed_word:(Source == 0 ? 0 : (CPU)->reg[Source])
#
compute:IndOff:IndOff:
compute:IndOff:rIndOff:signed_word:(GPR (IndOff) + 0)
#compute:IndOff:rIndOff:signed_word:(IndOff == 0 ? 0 : (CPU)->reg[IndOff])
1997-04-23 13:56:14 +00:00
#
compute:Base:Base:
compute:Base:vBase:signed_word:(GPR (Base) + 0)
compute:Base:rBase:signed_word*:(&GPR (Base))
#compute:Base:vBase:signed_word:(Base == 0 ? 0 : (CPU)->reg[Base])
1997-04-23 13:56:14 +00:00
#
compute:Link:Link:
compute:Link:rLink:signed_word*:(&(CPU)->reg[Link])
#
# Trap Number
compute:UTN:UTN:
compute:INDTR:INDTR:
1997-04-23 13:56:14 +00:00
compute:INDTR:UTN:unsigned_word:(INDTR == 0 ? 0 : (CPU)->reg[INDTR])
#
compute:A:A:
#
1997-04-23 13:56:14 +00:00
compute:SignedImmediate:SignedImmediate:
compute:SignedImmediate:vSource1:signed_word:SEXT (SignedImmediate, 14)
#
compute:UnsignedImmediate:UnsignedImmediate:
compute:UnsignedImmediate:vSource1:signed_word:UnsignedImmediate
#
compute:BITNUM:BITNUM:
1997-04-23 13:56:14 +00:00
compute:Code:Code:
compute:BITNUM:bitnum:int:(~BITNUM) & 0x1f
1997-04-23 13:56:14 +00:00
#
compute:SignedOffset:SignedOffset:
compute:SignedOffset:vSignedOffset:signed_word:SEXT (SignedOffset, 14)
1997-04-29 08:41:15 +00:00
#
compute:UCRN:UCRN:
compute:INDCR:INDCR:
compute:INDCR:UCRN:unsigned32:(GPR (INDCR) + 0)
#compute:INDCR:UCRN:unsigned32:(INDCR == 0 ? 0 : (CPU)->reg[INDCR])