Read1

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: read1 register, xxxxxxxx

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

Use

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

Example


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

Also see

read2, read4, write1, write2, write4