summaryrefslogtreecommitdiff
path: root/sim/tic80
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-05-10 16:40:21 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-05-10 16:40:21 +0000
commit20b2f9bc83913de6065a40c14c7cb7c96e7bb8d1 (patch)
tree86ec1daf2984a7ab574f5a94a6d0c0f51d71c579 /sim/tic80
parentf7f90eaaf5d21d63001e5d30bc316aff699e9dc7 (diff)
downloadbinutils-20b2f9bc83913de6065a40c14c7cb7c96e7bb8d1.tar.gz
binutils-20b2f9bc83913de6065a40c14c7cb7c96e7bb8d1.tar.bz2
binutils-20b2f9bc83913de6065a40c14c7cb7c96e7bb8d1.zip
And short immediate instructions use unsigned immediates, not signed.
Diffstat (limited to 'sim/tic80')
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/insns8
2 files changed, 9 insertions, 4 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index 131098fd4d5..382fa79ef76 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Sat May 10 12:35:47 1997 Michael Meissner <meissner@cygnus.com>
+
+ * insns (and{.tt,.tf,.ft,.ff}): Immediate values are unsigned, not
+ signed.
+
Fri May 9 15:47:36 1997 Mike Meissner <meissner@cygnus.com>
* insns (cmp_vals,do_cmp): Produce the correct bits as specified
diff --git a/sim/tic80/insns b/sim/tic80/insns
index 4e91cb6c3e0..a78edc11fa5 100644
--- a/sim/tic80/insns
+++ b/sim/tic80/insns
@@ -64,7 +64,7 @@ void::function::do_and:signed32 *rDest, signed32 Source1, signed32 Source2
// and, and.tt
-31.Dest,26.Source2,21.0b0010001,14.SignedImmediate::::and.tt i
+31.Dest,26.Source2,21.0b0010001,14.UnsignedImmediate::::and.tt i
do_and (_SD, rDest, vSource1, rSource2);
31.Dest,26.Source2,21.0b110010001,12.0,11./,4.Source1::::and.tt r
do_and (_SD, rDest, rSource1, rSource2);
@@ -74,7 +74,7 @@ void::function::do_and:signed32 *rDest, signed32 Source1, signed32 Source2
// and.ff
-31.Dest,26.Source2,21.0b0011000,14.SignedImmediate::::and.ff i
+31.Dest,26.Source2,21.0b0011000,14.UnsignedImmediate::::and.ff i
do_and (_SD, rDest, ~vSource1, ~rSource2);
31.Dest,26.Source2,21.0b110011000,12.0,11./,4.Source1::::and.ff r
do_and (_SD, rDest, ~rSource1, ~rSource2);
@@ -84,7 +84,7 @@ void::function::do_and:signed32 *rDest, signed32 Source1, signed32 Source2
// and.ft
-31.Dest,26.Source2,21.0b0010100,14.SignedImmediate::::and.ft i
+31.Dest,26.Source2,21.0b0010100,14.UnsignedImmediate::::and.ft i
do_and (_SD, rDest, ~vSource1, rSource2);
31.Dest,26.Source2,21.0b110010100,12.0,11./,4.Source1::::and.ft r
do_and (_SD, rDest, ~rSource1, rSource2);
@@ -94,7 +94,7 @@ void::function::do_and:signed32 *rDest, signed32 Source1, signed32 Source2
// and.tf
-31.Dest,26.Source2,21.0b0010010,14.SignedImmediate::::and.tf i
+31.Dest,26.Source2,21.0b0010010,14.UnsignedImmediate::::and.tf i
do_and (_SD, rDest, vSource1, ~rSource2);
31.Dest,26.Source2,21.0b110010010,12.0,11./,4.Source1::::and.tf r
do_and (_SD, rDest, rSource1, ~rSource2);