Autumn 2006-2007 Lecture NOTES

 

68k_w01_introduction.pdf

 

68k_w02_addr_modes.pdf

 

68k_w03_move_arith_bcd.pdf

 

68k_w04_loops.pdf

 

68k_w05_subroutine_stack.pdf

 

68k_w06_gnu_cpp.pdf

 

68k_w07_exceptions.pdf

 

68k_w08_PIT.pdf

 

 

 

Some 68k Assembly Code basics and tricks

 

LAB SHEETS

 

General LAB Report Format (Turkish version: you can adapt to english)

 

 LAB 1

(Week 41 of 2006)

Main

Topics:

Start using Motorola 68000

Assembly programming of 68k, the instruction set

Bit manipulation and image processing using memory bits

October

12-13

Links:

Download Lab 1 Sheet

 

Download an instruction set of  68k

For more; try google

LAB 2

(Week 42 of 2006)

Main

Topics:

 

Logic Operations

&

Shift Commands

Extension of instructions to 64-bit and upper.

An implementation

“Unpacking”

October

19-20

Links:

Download Lab 2 Sheet

Download a doc. about shift op.s 

For more; try google

LAB 3

(Week 44 of 2006)

Main

Topics:

 

Mathematical Instructions

Extension of math. capabilities 

Parameter passing to the routines

November

2-3

Links:

Download Lab 3 Sheet

 

 

LAB 4

(Week 46 of 2006)

Main

Topics:

 

Stack

&

Local Variables

Modular codes

for flexibility

Passing parameters

- advanced solutions

November

16-17

Links:

Download Lab 4 Sheet

Download a doc. about modularity  

 

LAB 5

(Week 47 of 2006)

Main

Topics:

 

GNU GCC

m68k in C language

High Level Programming

November

23-24

Links:

Download Lab 5 Sheet and files

  GNU-GCC for

Windows&linux

 For more; try google