12.07.2015 Views

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MAXQ</strong> <strong>Core</strong> <strong>Assembly</strong> <strong>Guide</strong>Name Conditions FunctionGRGRLBPGRSGRHGRXLBP[Offs]16-bit General Purpose Register.Low byte of GR.Base portion of the Frame Pointer.Byte-swapped version of GR.High byte of GR.Sign-extended version of the low byte of GR.Frame pointer value – BP + Offs.@BP[Offs]Returns the value stored in memory location BP + Offs.@BP[Offs--]Source only. Returns the value stored in memory location BP + Offs, thendecrements Offs.@BP[++Offs]Destination only. Increments Offs, then writes the source value to memory locationBP + Offs.DP[0] Data Pointer 0.@DP[0]Reads from or writes to memory location at DP[0].@++DP[0]Destination only. Increments DP[0], then writes the source value to the memorylocation at DP[0].@DP[0]++Source only. Returns the value stored in memory location DP[0], then incrementsDP[0].@--DP[0]Destination only. Decements DP[0], then writes the source value to the memorylocation at DP[0].@DP[0]--Source only. Returns the value stored in memory location DP[0], then decrementsDP[0].DP[1] Data Pointer 1.@DP[1]@++DP[1]@DP[1]++@--DP[1]@DP[1]--Reads from or writes to memory location at DP[1].Destination only. Increments DP[1], then writes the source value to the memorylocation at DP[1].Source only. Returns the value stored in memory location DP[1], then incrementsDP[1].Destination only. Decements DP[1], then writes the source value to the memorylocation at DP[1].Source only. Returns the value stored in memory location DP[1], then decrementsDP[1].Version 1.2 12 of 43 March 7, 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!