Sample Code - Fujitsu MB95200H/210H Series Application Note

Hide thumbs Also See for MB95200H/210H Series:
Table of Contents

Advertisement

5 Sample code

Start.asm
//==================================================================
2
// F
MC-8L Family SOFTUNE C Compiler sample startup routine,
// ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 1986
// LICENSED MATERIAL - PROGRAM PROPERTY OF FUJITSU LIMITED
//==================================================================
//Sample code for initialization
//-----------------------------------------------------------------------
.PROGRAM
.TITLE
// Settings
#set
#set
# set
//Clock Mode Selection
# set
# set
//DIV Clock Selection (Machine clock division ratio)
# set
# set
# set
# set
// external declaration of symbols
.EXPORT
.IMPORT
//definition to stack area
.SECTION
.RES.B
STACK_TOP:
.RES.B
//========= ===============================================
// Start-Up Code
//=======================================================
//
___
_____
//
/
|
/
//
\___
|
|
//
\
|
|----| |
DBG pin operation V1.0
Chapter 5 Sample code
start
start
OFF
0
ON
1
STACKSIZE 64
SUB
0
MAIN
2
CLK_0
0
CLK_4
1
CLK_8
2
CLK_16
3
__start
_main
STACK,
STACK,
STACKSIZE
2
__
___
_____
\
|
\
|
| |___/
|
\
|
MCU-AN-500009-E-10 – Page 8
// Stack size
//Sub clock mode
// Main clock mode
// Original oscillator div 1
// Original oscillator div 4
//Original oscillator div 8
//Original oscillator div 16
ALIGN=1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95200h seriesMb95210h series

Table of Contents