beautypg.com

Renesas Emulator System M3T-MR100 User Manual

Page 170

background image

- 154 -

[

[

[

[

E

E

x

x

a

a

m

m

p

p

l

l

e

e

p

p

r

r

o

o

g

g

r

r

a

a

m

m

s

s

t

t

a

a

t

t

e

e

m

m

e

e

n

n

t

t

]

]

]

]

<>

#include
#include
#include “kernel_id.h”
void task()
{

SYSTIME time; /* Time data storing variable */

get_tim( &time ); /* Refers to the system time */

}

<>
.include

mr100.inc

.GLB

task

_g_systim: .blkb

6

task:

:
PUSHM A1
get_tim

#_g_systim

: