aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-tahoe.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-22 15:32:28 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-22 15:32:28 +0000
commit33b7f697881b159568524c5bab0ab28fb1b2700f (patch)
treeb777c30a9a58b540f1eab29fe404549ee7c0d6c5 /gas/config/tc-tahoe.c
parent29dfb2ac4ced1ff1f8ebc56d494667daf49ed2d6 (diff)
downloadgdb-33b7f697881b159568524c5bab0ab28fb1b2700f.zip
gdb-33b7f697881b159568524c5bab0ab28fb1b2700f.tar.gz
gdb-33b7f697881b159568524c5bab0ab28fb1b2700f.tar.bz2
* config/atof-tahoe.c: Fix comment typos.
* config/m68k-parse.y: Likewise. * config/obj-aout.c: Likewise. * config/obj-bout.c: Likewise. * config/obj-vms.c: Likewise. * config/tc-tahoe.c: Likewise. * config/tc-tic30.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/te-delt88.h: Likewise. * config/te-delta.h: Likewise. * config/te-generic.h: Likewise. * config/te-macos.h: Likewise. * config/te-ppcnw.h: Likewise. * config/te-psos.h: Likewise. * config/te-sun3.h: Likewise. * config/te-tmips.h: Likewise. * config/xtensa-relax.c: Likewise.
Diffstat (limited to 'gas/config/tc-tahoe.c')
-rw-r--r--gas/config/tc-tahoe.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/gas/config/tc-tahoe.c b/gas/config/tc-tahoe.c
index 034df48..4bc75ea 100644
--- a/gas/config/tc-tahoe.c
+++ b/gas/config/tc-tahoe.c
@@ -41,7 +41,7 @@ struct top /* tahoe instruction operand */
byte top_mode; /* Addressing mode byte. This byte, defines
which of the 11 modes opcode is. */
- char top_access; /* Access type wanted for this opperand
+ char top_access; /* Access type wanted for this operand
'b'branch ' 'no-instruction 'amrvw' */
char top_width; /* Operand width expected, one of "bwlq?-:!" */
@@ -55,8 +55,8 @@ struct top /* tahoe instruction operand */
can figure it out */
};
-/* The addressing modes for an operand. These numbers are the acutal values
- for certain modes, so be carefull if you screw with them. */
+/* The addressing modes for an operand. These numbers are the actual values
+ for certain modes, so be careful if you screw with them. */
#define TAHOE_DIRECT_REG (0x50)
#define TAHOE_REG_DEFERRED (0x60)
@@ -75,7 +75,7 @@ struct top /* tahoe instruction operand */
#define TAHOE_AUTO_DEC (0x7E)
#define TAHOE_AUTO_INC (0x8E)
#define TAHOE_AUTO_INC_DEFERRED (0x9E)
-/* INDEXED_REG is decided by the existance or lack of a [reg]. */
+/* INDEXED_REG is decided by the existence or lack of a [reg]. */
/* These are encoded into top_width when top_access=='b'
and it's a psuedo op. */
@@ -130,7 +130,7 @@ const char EXP_CHARS[] = "eE";
as in 0f123.456
or 0d1.234E-12 (see exp chars above)
Note: The Tahoe port doesn't support floating point constants. This is
- consistant with 'as' If it's needed, I can always add it later. */
+ consistent with 'as' If it's needed, I can always add it later. */
const char FLT_CHARS[] = "df";
/* Also be aware that MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT may have to be
@@ -306,7 +306,7 @@ const relax_typeS md_relax_table[] =
{
1, 1, 0, 0
}, /* unused 2,3 */
-/* Another type of reversable branch. But this only has a word
+/* Another type of reversible branch. But this only has a word
displacement. */
{
1, 1, 0, 0
@@ -320,7 +320,7 @@ const relax_typeS md_relax_table[] =
{
1, 1, 0, 0
}, /* unused 3,3 */
-/* These are the non reversable branches, all of which have a word
+/* These are the non reversible branches, all of which have a word
displacement. If I can't reach, branch over a byte branch, to a
jump that will reach. The jumped branch jumps over the reaching
branch, to continue with the flow of the program. It's like playing
@@ -947,8 +947,8 @@ tahoe_reg_parse (start)
* make the command look cute. ie: * foo ( r1 ) [ r0 ]
* If you like doing a lot of typing, try COBOL!
* Actually, this parser is a little weak all around. It's designed to be
- * used with compliers, so I emphisise correct decoding of valid code quickly
- * rather that catching every possable error.
+ * used with compliers, so I emphasize correct decoding of valid code quickly
+ * rather that catching every possible error.
* Note: This uses the expression function, so save input_line_pointer before
* calling.
*
@@ -971,9 +971,9 @@ tahoe_reg_parse (start)
* l longword
* q quadword (Even regs < 14 allowed) (if 12, you get a warning)
* - unconditional synthetic jbr operand
- * ? simple synthetic reversable branch operand
- * ! complex synthetic reversable branch operand
- * : complex synthetic non-reversable branch operand
+ * ? simple synthetic reversible branch operand
+ * ! complex synthetic reversible branch operand
+ * : complex synthetic non-reversible branch operand
*
* The '-?!:' letter 2's are not for external consumption. They are used
* by GAS for psuedo ops relaxing code.
@@ -984,12 +984,12 @@ tahoe_reg_parse (start)
* top_reg: -1, or register number. eg 7 = R7 or (R7)
* top_mode: The addressing mode byte. This byte, defines which of
* the 11 modes opcode is.
- * top_access: Access type wanted for this opperand 'b'branch ' '
+ * top_access: Access type wanted for this operand 'b'branch ' '
* no-instruction 'amrvw'
* top_width: Operand width expected, one of "bwlq?-:!"
* exp_of_operand: The expression as parsed by expression()
* top_dispsize: Number of bytes in the displacement if we can figure it
- * out and it's relavent.
+ * out and it's relevant.
*
* Need syntax checks built.
*/
@@ -1013,7 +1013,7 @@ tip_op (optex, topP)
auto-decremented '-' or neither ' '. */
int immediate = 0; /* 1 if '$' immediate mode */
int call_width = 0; /* If the caller casts the displacement */
- int abs_width = 0; /* The width of the absolute displacment */
+ int abs_width = 0; /* The width of the absolute displacement */
int com_width = 0; /* Displacement width required by branch */
int deferred = 0; /* 1 if '*' deferral is used */
byte disp_size = 0; /* How big is this operand. 0 == don't know */
@@ -1045,7 +1045,7 @@ tip_op (optex, topP)
/* Force words into a certain mode */
/* Bitch, Bitch, Bitch! */
/*
- * Using the ^ operator is ambigous. If I have an absolute label
+ * Using the ^ operator is ambiguous. If I have an absolute label
* called 'w' set to, say 2, and I have the expression 'w^1', do I get
* 1, forced to be in word displacement mode, or do I get the value of
* 'w' or'ed with 1 (3 in this case).
@@ -1228,7 +1228,7 @@ tip_op (optex, topP)
expP->X_add_number = 0;
really_none = 1;
case O_constant:
- /* for SEG_ABSOLUTE, we shouldnt need to set X_op_symbol,
+ /* for SEG_ABSOLUTE, we shouldn't need to set X_op_symbol,
X_add_symbol to any particular value. */
/* But, we will program defensively. Since this situation occurs
rarely so it costs us little to do so. */
@@ -1518,7 +1518,7 @@ tip (titP, instring)
/*
* We found a match! So let's pick up as many operands as the
* instruction wants, and even gripe if there are too many.
- * We expect comma to seperate each operand.
+ * We expect comma to separate each operand.
* We let instring track the text, while p tracks a part of the
* struct tot.
*/
@@ -1657,10 +1657,10 @@ md_assemble (instruction_string)
to_seg == SEG_TEXT || \
to_seg == SEG_BSS);
is_undefined = (to_seg == SEG_UNKNOWN);
- /* Do we know how big this opperand is? */
+ /* Do we know how big this operand is? */
dispsize = operandP->top_dispsize;
pc_rel = 0;
- /* Deal with the branch possabilities. (Note, this doesn't include
+ /* Deal with the branch possibilities. (Note, this doesn't include
jumps.)*/
if (operandP->top_access == 'b')
{
@@ -1732,7 +1732,7 @@ md_assemble (instruction_string)
branches to jumps, and let GAS fix them. */
/* These are "branches" what will always be branches around a jump
- to the correct addresss in real life.
+ to the correct address in real life.
If to_seg is SEG_ABSOLUTE, just encode the branch in,
else let GAS fix the address. */
@@ -1740,7 +1740,7 @@ md_assemble (instruction_string)
{
/* The theory:
For SEG_ABSOLUTE, then mode is ABSOLUTE_ADDR, jump
- to that addresss (not pc_rel).
+ to that address (not pc_rel).
For other segs, address is a long word PC rel jump. */
case TAHOE_WIDTH_CONDITIONAL_JUMP:
/* b<cond> */
@@ -1916,7 +1916,7 @@ md_assemble (instruction_string)
/* Is this a value out of this segment?
The first part of this conditional is a cludge to make gas
produce the same output as 'as' when there is a lable, in
- the current segment, displaceing a register. It's strange,
+ the current segment, displacing a register. It's strange,
and no one in their right mind would do it, but it's easy
to cludge. */
if ((dispsize == 0 && !pc_rel) ||