Re: ROM-functions & internal RAM

"Bernard" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <003201c3e757$26786020$8f03a8c0@Uranowa>
Thanks very much!
But I don't know who I ought to believe:
- startup400.a51 writes:
     " org     68H
     wos_crit_count: DSB     1"
- High-Speed Microcontroller User's Guide: DS80C400 Supplement page 195
writes:
"entercritsection - enter critical section. This function increments the
variable wos_crit_count located in direct data memory at addres 6Bh."

68 or 6B? Where is the true?

Bernard


> There are a number of internal locations declared in startup400.a51--these
> are the ones that are used by the ROM.
>
> Kris
>
> ----- Original Message -----
> From: "Bernard" <[email protected]>
> To: <tini-6tN4nzCoH/[email protected]>
> Sent: Friday, January 30, 2004 3:33 AM
> Subject: [TINI]ROM-functions & internal RAM
>
>
> > Dear TINI Authors and Users,
> >
> > Some ROM-functions destroy internal (scratchpad) RAM. I know, "rom_init"
> > function clears direct and indirect RAM (scratchpad) 00h-FFh.
> > But after using "rom_init" ! :  are there any areas of 00h-FFh internal
> > memory (excluding SFR) that are not distroyed by anoher ROM-functions
and
> > are "safe" for using by user?
> > (For example: "entercritsection" and "leavecritsection" functions change
> > memory at address 6Bh.)
> >
> > Regards
> > Bernard

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.