diff --git a/core/src/core/org/jnode/assembler/x86/X86Assembler.java b/core/src/core/org/jnode/assembler/x86/X86Assembler.java index 4031f0dea0..f1e8282fc5 100644 --- a/core/src/core/org/jnode/assembler/x86/X86Assembler.java +++ b/core/src/core/org/jnode/assembler/x86/X86Assembler.java @@ -2108,7 +2108,7 @@ public abstract void writePOPA() * Create a push reg32 * * @param srcReg - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(GPR srcReg); @@ -2116,7 +2116,7 @@ public abstract void writePOPA() * Create a push sreg * * @param srcReg - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(SR srcReg); @@ -2127,7 +2127,7 @@ public abstract void writePOPA() * @param srcIndexReg * @param srcScale * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(GPR srcBaseReg, GPR srcIndexReg, int srcScale, int srcDisp); @@ -2137,7 +2137,7 @@ public abstract int writePUSH(GPR srcBaseReg, GPR srcIndexReg, * * @param srcReg * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(GPR srcReg, int srcDisp); @@ -2146,7 +2146,7 @@ public abstract int writePUSH(GPR srcBaseReg, GPR srcIndexReg, * * @param sr * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(SR sr, int srcDisp); @@ -2155,7 +2155,7 @@ public abstract int writePUSH(GPR srcBaseReg, GPR srcIndexReg, * Create a push dword * * @param imm32 - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public abstract int writePUSH(int imm32); diff --git a/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java b/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java index acfdfab645..3833772d44 100644 --- a/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java +++ b/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java @@ -4208,7 +4208,7 @@ public void writePUNPCKLBW(MMX dstMmx, MMX srcMmx) { * Create a push dword imm32 * * @param imm32 - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(int imm32) { final int rc = m_used; @@ -4226,7 +4226,7 @@ public final int writePUSH(int imm32) { * Create a push srcReg * * @param srcReg - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(GPR srcReg) { testSize(srcReg, BITS32 | BITS64); @@ -4239,7 +4239,7 @@ public final int writePUSH(GPR srcReg) { * Create a push srcReg * * @param srcReg - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(SR srcReg) { final int rc = m_used; @@ -4268,7 +4268,7 @@ public final int writePUSH(SR srcReg) { * * @param srcReg * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(GPR srcReg, int srcDisp) { testSize(srcReg, mode.getSize()); @@ -4284,7 +4284,7 @@ public final int writePUSH(GPR srcReg, int srcDisp) { * * @param sr * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(SR sr, int srcDisp) { testOperandSize(4, mode.getSize()); @@ -4305,7 +4305,7 @@ public final int writePUSH(SR sr, int srcDisp) { * @param srcIndexReg * @param srcScale * @param srcDisp - * @return The ofset of the start of the instruction. + * @return The offset of the start of the instruction. */ public final int writePUSH(GPR srcBaseReg, GPR srcIndexReg, int srcScale, int srcDisp) {