68000 Motherboard User’s Manual
Rev. A
Page 12 of 54
Table 4: Initialization Example with Assembly Language
+Offset Op Code Instruction
Mnemonic
Source Operand
Destination
Operand
Comment
…
+00
2E7C
00004000
MOVEA.L #(ONB
ONBD_BANK0_SZ),
A7
;
supervisor
stack
at
top of on-
board
SRAM
+06
207C
00003C00
MOVEA.L #(ONB
ONBD_BANK0_SZ-
ONBD_SUPSTCK_SZ),
A0
+0C
4E60
MOVE.L
A0,
USP
;
user
stack next
in
on-
board
SRAM
+0E
46FC
0000
MOVE.W
#$0000,
SR
;
enter
user mode
and set up
interrupt
mask for
level 0
+12
13FC
00FE
000A0000
MOVE.B
#$FE,
ONBD_INTEN ; enable
interrupts
in
hardware
…
Summary of Contents for MB68k-100
Page 1: ...Rev A Grant K c 2011 ...