Difference between revisions of "Auto Assembler:label"

From Cheat Engine
Jump to navigation Jump to search
(Examples)
Line 40: Line 40:
 
  xor eax,eax
 
  xor eax,eax
 
  jmp mylabel
 
  jmp mylabel
 +
 +
By default, CE doesn't care if you label() your labels or not. It's perfectly fine to do:[http://forum.cheatengine.org/viewtopic.php?t=594776]
 +
 +
Code:
 +
00400500:
 +
jmp bla
 +
something:
 +
jmp 00400600
 +
bla:
 +
jmp something
  
 
== See also ==
 
== See also ==

Revision as of 16:52, 15 March 2017

Auto Assembler label(LabelName)

Enables the word 'LabelName' to be used as a symbol.

Note: The label address must be set to be used.

Tip: Use registerSymbol to use the label in other AA scripts.

Command Parameters

Parameter Type Description
LabelName string The label name


Examples

label(someLabel)
...
00123ABC:
  someLabel:
    ...
label(mylabel)

00451029:
jmp 00410000
nop
nop
nop
mylabel:

00410000:
mov [00580120],esi
mov [esi+80],ebx
xor eax,eax
jmp mylabel

By default, CE doesn't care if you label() your labels or not. It's perfectly fine to do:[1]

Code:

00400500:
jmp bla
something:
jmp 00400600
bla:
jmp something

See also

Related Commands