Auto Assembler:label

From Cheat Engine

Jump to: navigation, search

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.

Contents

[edit] Command Parameters

Parameter Type Description
LabelName string The label name


[edit] 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


[edit] Notes

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

But, for those that don't like that, they can use the {$STRICT} line in their script.

When this line is present in your script, ce will not assume that an undefined symbol is a label, and just give you an error instead.

[edit] See also

[edit] Related Commands

Personal tools
Toolbox