Write2

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: write2 xxxxxxxx, value

  • xxxxxxxx = Memory address to write into
  • value = A value or register containing the value that will be written into memory

Use

Writes a 2-byte value into an arbitrary location in memory.

Example


100:     leti R100, 000000FF
         write2 DEADBEEF, R100 // Writes the value of R100 into 0xDEADBEEF in memory.
         ret 

Also see

read1, read2, read4, write1, write4