Read4

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: read4 register, xxxxxxxx

  • register = Register to store the result into
  • xxxxxxxx = Memory address to read from

Use

Reads a 4-byte value from an arbitrary location in memory.

Example


100:     read4 R100, DEADBEEF // Reads a dword from address 0xDEADBEEF and stores it into R100.
         ret 

Also see

read1, read2, write1, write2, write4