binutils-gdb/sim/tic80/ic
1997-05-30 07:25:13 +00:00

53 lines
1.6 KiB
Plaintext

compute:Dest:Dest:
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])
#
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])
#
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:BITNUM:bitnum:int:(~BITNUM) & 0x1f
#
compute:SignedOffset:SignedOffset:
compute:SignedOffset:vSignedOffset:signed_word:SEXT (SignedOffset, 14)
#
compute:UCRN:UCRN:
compute:INDCR:INDCR:
compute:INDCR:UCRN:unsigned32:(GPR (INDCR) + 0)
#compute:INDCR:UCRN:unsigned32:(INDCR == 0 ? 0 : (CPU)->reg[INDCR])