Skip to content

Commit

Permalink
Fix spelling mistakes in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 16, 2023
1 parent d2459b6 commit 0a76d7b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/ronin/code/asm/archs/amd64.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Code
module ASM
module Archs
#
# Contains AMD64 Archtecture information.
# Contains AMD64 Architecture information.
#
module AMD64
include X86
Expand Down
2 changes: 1 addition & 1 deletion lib/ronin/code/asm/archs/x86.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Code
module ASM
module Archs
#
# Contains X86 Archtecture information.
# Contains X86 Architecture information.
#
module X86
# Default word size
Expand Down
10 changes: 5 additions & 5 deletions lib/ronin/code/asm/program.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def stack_push(value)
# Generic method for popping off the stack.
#
# @param [Symbol] name
# The name of the reigster.
# The name of the register.
#
# @abstract
#
Expand All @@ -333,7 +333,7 @@ def stack_pop(name)
# Generic method for clearing a register.
#
# @param [Symbol] name
# The name of the reigster.
# The name of the register.
#
# @abstract
#
Expand All @@ -344,7 +344,7 @@ def register_clear(name)
# Generic method for setting a register.
#
# @param [Symbol] name
# The name of the reigster.
# The name of the register.
#
# @param [Register, ImmediateOperand, Integer] value
# The new value for the register.
Expand All @@ -358,7 +358,7 @@ def register_set(name,value)
# Generic method for saving a register.
#
# @param [Symbol] name
# The name of the reigster.
# The name of the register.
#
# @abstract
#
Expand All @@ -369,7 +369,7 @@ def register_save(name)
# Generic method for loading a register.
#
# @param [Symbol] name
# The name of the reigster.
# The name of the register.
#
# @abstract
#
Expand Down
2 changes: 1 addition & 1 deletion lib/ronin/code/asm/register.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def +(offset)
end

#
# Substracts from the value within the register and dereferences the
# Subtracts from the value within the register and dereferences the
# address.
#
# @param [Integer] offset
Expand Down

0 comments on commit 0a76d7b

Please sign in to comment.