CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
146
.section ".vect_ETC",text
add -4,sp
st.w r1,[sp]
mov #V_ETC,r1
jmp [r1]
.section ".vect_MOTOR",text
add -4,sp
st.w r1,[sp]
mov #V_MOTOR,r1
jmp [r1]
.section ".vect_AD0",text
add -4,sp
st.w r1,[sp]
mov #V_AD0,r1
jmp [r1]
.section ".vect_AD1",text
add -4,sp
st.w r1,[sp]
mov #V_AD1,r1
jmp [r1]
4.4.4 Startup routine setting
#=============================================================================
# DESCRIPTIONS:
# This assembly program is a sample of start-up module for ca850.
# If you modified this program, you must assemble this file, and
# locate a given directory.
#
# Unless -G is specified, sections are located as the following.
#
# | : |
# | : |
# tp -> -+-------------- + _ _start _ _tp_TEXT
# | start up |
# |-------------- |
# text section | |
# | user program |
# | |
# |-------------- |
# | library |
# -+-------------- +
# | |
# sdata section | |
# | |