Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SLS <reg>
#1
Technically undocumented - but the assembler doesn't support the shift instruction SLS. Unfortunately, not being documented, it doesn't have an official name - I've seen the same instructions called "SLL" as well - and shift left logical does seem to match with shift right logical.

Have a look at:
<!-- m --><a class="postlink" href="http://www.ime.usp.br/~einar/z80table/">http://www.ime.usp.br/~einar/z80table/</a><!-- m -->


In particular CB30 - CB37


That table is quite useful, actually Smile
Reply
#2
They're supported as SLL as you said (I've just re-check it).

SLL r

You can edit z80.py to see the supported instruction set.
Reply
#3
Aha. Missed that. Derp!

Excellent. It's quite a useful set of instructions, actually. I remember looking through the manual a few years back going "but...how do I shift it back the other way?"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)