Difference between revisions of "Auto Assembler:registerSymbol"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''Auto Assembler''' registerSymbol(''SymbolName'') Adds a symbol to the user-defined symbol list so cheat tables and the memory browser can use that name instead of a address. …')
 
(See also)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Assembler]]
 
'''Auto Assembler''' registerSymbol(''SymbolName'')
 
'''Auto Assembler''' registerSymbol(''SymbolName'')
  
Adds a symbol to the user-defined symbol list so cheat tables and the memory browser can use that name instead of a address.
+
Adds a symbol to the user-defined symbol list so cheat tables and the memory browser can use that name instead of an address.
  
 
Note: The symbol has to be declared in the script when using it.
 
Note: The symbol has to be declared in the script when using it.
Line 7: Line 8:
 
Note: Use [[Auto Assembler:unregisterSymbol|unregisterSymbol]] to remove the symbol from the user-defined symbol list.
 
Note: Use [[Auto Assembler:unregisterSymbol|unregisterSymbol]] to remove the symbol from the user-defined symbol list.
  
=== Function Parameters ===
+
=== Command Parameters ===
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
!align="left"|Parameter
 
!align="left"|Parameter
Line 38: Line 39:
 
== See also ==
 
== See also ==
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 +
* [[Auto_Assembler:Commands|Auto Assembler Commands]]
  
=== Related Functions ===
+
=== Related Commands ===
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
Line 54: Line 56:
 
* [[Auto Assembler:readMem|readMem]]
 
* [[Auto Assembler:readMem|readMem]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
* [[Auto Assembler:LUA|LUA]]
+
* [[Auto Assembler:LUA ASM|LUA ASM]]
* [[Auto Assembler:ASM|ASM]]
 

Latest revision as of 00:29, 13 January 2018

Auto Assembler registerSymbol(SymbolName)

Adds a symbol to the user-defined symbol list so cheat tables and the memory browser can use that name instead of an address.

Note: The symbol has to be declared in the script when using it.

Note: Use unregisterSymbol to remove the symbol from the user-defined symbol list.

Command Parameters[edit]

Parameter Type Description
SymbolName string The symbol name to register


Examples[edit]

aobScan(SomeSymbol, 00 53 48 8D 64 24 E0)
registerSymbol(SomeSymbol)
aobScan(someAobSymbol, 00 53 48 8D 64 24 E0)
define(SomeInjectionSymbol,someAobSymbol+C)
registerSymbol(SomeInjectionSymbol)
define(SomeSymbol,00123ABC)
registerSymbol(SomeSymbol)
label(SomeSymbol)
registerSymbol(SomeSymbol)
00123ABC:
SomeSymbol:


See also[edit]

Related Commands[edit]