1 / 5

68000 Shift and Rotate instructions(2)

68000 Shift and Rotate instructions(2). ASL - Arithmetic Shift Left. X/C. 0. LSB. Byte = bit 7 Word = bit 15 Long word = bit 31. ASR - Arithmetic Shift Right. X/C. LSB. Byte = bit 7 Word = bit 15 Long word = bit 31. Question: Before: <D0> = $3456ABCF and X=0, C=0

agrata
Download Presentation

68000 Shift and Rotate instructions(2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 68000 Shift and Rotate instructions(2) ASL - Arithmetic Shift Left X/C 0 LSB Byte = bit 7 Word = bit 15 Long word = bit 31 ASR - Arithmetic Shift Right X/C LSB Byte = bit 7 Word = bit 15 Long word = bit 31 • Question: • Before: <D0> = $3456ABCF and X=0, C=0 • ASL.W #3,D0 • After: <D0> = ???, X/C = ??? Hardware Computer Organization for the Software Professional Arnold S. Berger

  2. 68000 Shift and Rotate instructions(3) LSL - Logical Shift Left X/C 0 C LSR - Logical Shift Right ROR - Roll Right 0 X/C X C C ROXL - Roll Left ROL - Roll Left C X ROXL - Roll Left Hardware Computer Organization for the Software Professional Arnold S. Berger

  3. 68000 Shift and Rotate instructions(3) LSL - Logical Shift Left X/C 0 C LSR - Logical Shift Right ROR - Roll Right 0 X/C X C C ROXL - Roll Left ROL - Roll Left C X ROXL - Roll Left Hardware Computer Organization for the Software Professional Arnold S. Berger

  4. A real 68000-based system(1) Note: Not all 68000 signals are shown Hardware Computer Organization for the Software Professional Arnold S. Berger

  5. A real 68000-based system(2) Hardware Computer Organization for the Software Professional Arnold S. Berger

More Related