EasyManuals Logo

Renesas V850 Series User Manual

Renesas V850 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #170 background imageLoading...
Page #170 background image
CHAPTER 4 PROGRAM LIST
Application Note U17209EJ1V0AN
173
.globl _ _start
.globl _exit
.globl _ _exit
_ _start:
mov 0x26,r10
st.b r10,VSWC[r0] -- Set peripheral I/O wait
mov 0x07,r10 -- ×10
st.b r10,PRCMD[r0]
st.b r10,CKC[r0] -- PLL xx multiplication
nop
nop
nop
nop
nop
mov #_ _tp_TEXT, tp -- set tp register
mov #_ _gp_DATA, gp -- set gp register offset
add tp, gp -- set gp register
mov #_ _stack+STACKSIZE, sp -- set sp register
mov #_ _ep_DATA, ep -- set ep register
#
mov #_ _ssbss, r13 -- clear sbss section
mov #_ _esbss, r12
cmp r12, r13
jnl .L11
.L12:
st.w r0, [r13]
add 4, r13
cmp r12, r13
jl .L12
.L11:
#
mov #_ _sbss, r13 -- clear bss section
mov #_ _ebss, r12
cmp r12, r13
nl .L14
.L15:
st.w r0, [r13]
add 4, r13
cmp r12, r13
jl .L15
.L14:
#
jarl _main, lp -- call main function
_ _exit:
halt -- end of program
_ _startend:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas V850 Series and is the answer not in the manual?

Renesas V850 Series Specifications

General IconGeneral
BrandRenesas
ModelV850 Series
CategoryInverter
LanguageEnglish