🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1639

gas-1.33 (ns32k) andw,andd mishandled

#1639
From: John F. Peters
Date: Sun, 28 May 1989 07:18
29 lines
1637 bytes
Immediate operands are wrongfully limited to one byte for the 'andw'
and 'andd' ops; here are the corrections to ns32k-opcode.h.

*** ns32k-opcode.h.00	Mon Apr 24 09:20:21 1989
--- ns32k-opcode.h	Sat May 27 23:41:02 1989
***************
*** 109,116 ****
    { "adjspw",	11,16,	0x057d,	"1W", 		2,	"",	20,21	},
    { "adjspd",	11,16,	0x057f,	"1D", 		4,	"",	20,21	},
    { "andb",	 6,16,	0x28,	"1B2B",		1,	"",	20,21	},
!   { "andw",	 6,16,	0x29,	"1W2W",		1,	"",	20,21	},
!   { "andd",	 6,16,	0x2b,	"1D2D",		1,	"",	20,21	},
    { "ashb",	14,24,	0x044e,	"1B2B",		1,	"",	20,21	},
    { "ashw",	14,24,	0x054e,	"1B2W",		1,	"",	20,21	},
    { "ashd",	14,24,	0x074e,	"1B2D",		1,	"",	20,21	},
--- 109,116 ----
    { "adjspw",	11,16,	0x057d,	"1W", 		2,	"",	20,21	},
    { "adjspd",	11,16,	0x057f,	"1D", 		4,	"",	20,21	},
    { "andb",	 6,16,	0x28,	"1B2B",		1,	"",	20,21	},
!   { "andw",	 6,16,	0x29,	"1W2W",		2,	"",	20,21	},
!   { "andd",	 6,16,	0x2b,	"1D2D",		4,	"",	20,21	},
    { "ashb",	14,24,	0x044e,	"1B2B",		1,	"",	20,21	},
    { "ashw",	14,24,	0x054e,	"1B2W",		1,	"",	20,21	},
    { "ashd",	14,24,	0x074e,	"1B2D",		1,	"",	20,21	},



-- 
jfp@practic.com   {uunet,sun,pyramid}!practic!jfp   408 749 8900
Technical Details
Message-ID: <40901@practic.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!amdcad!weitek!practic!jfp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!amdcad!weitek!practic!jfp
From: jfp@practic.UUCP (John F. Peters)
Newsgroups: gnu.utils.bug
Subject: gas-1.33 (ns32k) andw,andd mishandled
Message-ID: <40901@practic.UUCP>
Date: 28 May 89 07:18:14 GMT
Reply-To: jfp@practic.UUCP (John F. Peters)
Distribution: gnu
Organization: Practical Computing Inc., Sunnyvale
Lines: 29