Read global flag

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: read_global_flag xxxxxxxx, register1

  • T_Dword = Global flag number to use.
  • Register 1 = Register to store the value of global flag used.

Use

Used to store the value of a global flag to a register.

Example


100:     read_global_flag 00000001, R1 //Stores global flag number 1's value in Register 1.
         ret 

Also see

ret