Motorola M68000 Betriebsanweisung Seite 68

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 256
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 67
54 Assembly Language Programming for the 68000 Family
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
13 8192
14 16384
15 32768
etc.
Exercises
1. Write an instruction to move the contents of DO to Dl.
2. Write an instruction to move the low-order byte in register DO to
memory location SAMPLE.
3. Is MOVE.L DO,#10 a legal instruction?
4. Is MOVE.B #2056,DO a legal instruction?
5. Write an instruction to exchange the contents of registers D5 and D6.
6. Write the instruction to add DO to the longword at ALPHA.
7. Write the instructions to add memory location INCREMENT to
memory location TOTAL. Assume longwords.
8. Write the instruction to add the constant 25 to A0.
9. Write the instruction to add the word at memory location OFFSET
to register A5.
10. Write the instruction to move the contents of the longword at INIT-
VAL to register A2.
11. Write the instruction to clear the low-order byte of register D5.
12. Write an instruction to clear register A0.
13. Write the instructions to obtain an input value, add 100, and output
the result.
14. Write the instructions to obtain an input character and repeat it on
output.
15. Write an infinite loop to output the integers starting at zero.
16. Write a counting loop to output the digits 0 through 9 in that order.
17. Write a program to sum the numbers from 1 through 100.
18. Write a program to output your name.
19. Write a program to evaluate DOD1+D2+100 and output the result.
20. Write a program to output the letter A 100 times, with 10 As per line.
Seitenansicht 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 255 256

Kommentare zu diesen Handbüchern

Keine Kommentare