itbl-ops.c (77298) | itbl-ops.c (78828) |
---|---|
1/* itbl-ops.c | 1/* itbl-ops.c |
2 Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. | 2 Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. |
3 4 This file is part of GAS, the GNU Assembler. 5 6 GAS is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 --- 484 unchanged lines hidden (view full) --- 495 * name - name of instruction 496 * s - operands 497 * returns - long word for assembled instruction */ 498 499unsigned long 500itbl_assemble (char *name, char *s) 501{ 502 unsigned long opcode; | 3 4 This file is part of GAS, the GNU Assembler. 5 6 GAS is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 --- 484 unchanged lines hidden (view full) --- 495 * name - name of instruction 496 * s - operands 497 * returns - long word for assembled instruction */ 498 499unsigned long 500itbl_assemble (char *name, char *s) 501{ 502 unsigned long opcode; |
503 struct itbl_entry *e; | 503 struct itbl_entry *e = NULL; |
504 struct itbl_field *f; 505 char *n; 506 int processor; 507 508 if (!name || !*name) 509 return 0; /* error! must have a opcode name/expr */ 510 511 /* find entry in list of instructions for all processors */ --- 391 unchanged lines hidden --- | 504 struct itbl_field *f; 505 char *n; 506 int processor; 507 508 if (!name || !*name) 509 return 0; /* error! must have a opcode name/expr */ 510 511 /* find entry in list of instructions for all processors */ --- 391 unchanged lines hidden --- |