OT: Re: 8051 assembler



Jeff M. wrote:
Here's a sample assembly example (taken from the GameBoy Advance):

(define-gba-function set-graphics-mode (mode)
  "Note: the argument does nothing except act as a comment."
  (asm
....
(lsl r1 r2 8)

What's with the three argument left shift? What does that do? I queried an ARM instruction set quick reference card, but it didn't solve the mystery. Just curious.



-- Cameron MacKinnon Toronto, Canada .