Difference between revisions of "Read1"
From Unofficial QEdit Wiki Guide
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>read1 </span>register, xxxxxxxx</span> * register = Register to store the re...") |
(No difference)
|
Latest revision as of 13:22, 23 October 2020
Contents
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