GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with GAS or GDB; see the file COPYING. If not, write to
- the Free Software Foundation, 51 Franklin Street - Fifth Floor,
- Boston, MA 02110-1301, USA. */
+ along with GAS or GDB; see the file COPYING. If not,
+ see <http://www.gnu.org/licenses/>. */
#include <stdlib.h>
#include "dis-asm.h"
for more details.
You should have received a copy of the GNU General Public License
- along with this software; see the file COPYING. If not, write to
- the Free Software Foundation, 51 Franklin Street - Fifth Floor,
- Boston, MA 02110-1301, USA. */
+ along with this software; see the file COPYING. If not,
+ see <http://www.gnu.org/licenses/>. */
/* FIXME-someday: perhaps the ,a's and such should be embedded in the
instruction's name rather than the args. This would make gas faster, pinsn
{ 0x40, "#ASI_M_VIKING_TMP1" },
{ 0x41, "#ASI_M_VIKING_TMP2" },
{ 0x4c, "#ASI_M_ACTION" },
- { 0, 0 }
+ { 0, NULL }
};
static const arg asi_table_v9[] =
/* These are UltraSPARC extensions. */
/* FIXME: There are dozens of them. Not sure we want them all.
Most are for kernel building but some are for vis type stuff. */
- { 0, 0 }
+ { 0, NULL }
};
/* Return the name for ASI value VALUE or NULL if not found. */
{ 0x04, "#LoadStore" },
{ 0x02, "#StoreLoad" },
{ 0x01, "#LoadLoad" },
- { 0, 0 }
+ { 0, NULL }
};
/* Return the name for membar value VALUE or NULL if not found. */
{ 3, "#one_write" },
{ 4, "#page" },
{ 16, "#invalidate" },
- { 0, 0 }
+ { 0, NULL }
};
/* Return the name for prefetch value VALUE or NULL if not found. */
{ 4, "%ccsr2" },
{ 5, "%cccrr" },
{ 6, "%ccrstr" },
- { 0, 0 }
+ { 0, NULL }
};
/* Return the name for sparclet cpreg value VALUE or NULL if not found. */
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
- MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Bitmask of v9 architectures. */
#define MASK_V9 ((1 << SPARC_OPCODE_ARCH_V9) \
imm_added_to_rs1 = 1;
if (X_RS1 (insn) != X_RD (insn)
- && strchr (opcode->args, 'r') != 0)
+ && strchr (opcode->args, 'r') != NULL)
/* Can't do simple format if source and dest are different. */
continue;
if (X_RS2 (insn) != X_RD (insn)
- && strchr (opcode->args, 'O') != 0)
+ && strchr (opcode->args, 'O') != NULL)
/* Can't do simple format if source and dest are different. */
continue;