Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/06/07 06:18
Read: times


 
#130404 - iseg?/upper 128 bytes of RAM
Hi-
I'm using a c8051f330 part for my project. I've got a question that must wreak of newbie. According to the data sheet (http://www.silabs.com/public/do...1F33x.pdf) I can place the program stack anywhere in the 256 bytes of ram. The upper 128 bytes are dual mapped - direct addressing for sfrs and indirect for the upper 128 bytes. I've been googling around for keil assembler manuals in order to get the syntax for this. What I want to do is place my stack starting at 80h. From what I understand I should be able to do something like

iseg AT 80h
STACK: ds 64
.
.
.
mov SP, STACK

iseg isn't recognized by the keil evaluation assembler that comes with the SiLabs eval board. What's the correct syntax for this? Thanks!

D

List of 8 messages in thread
TopicAuthorDate
iseg?/upper 128 bytes of RAM            01/01/70 00:00      
   examine startup.A51            01/01/70 00:00      
      In Response to Tsuneo            01/01/70 00:00      
         mov SP,STACK            01/01/70 00:00      
            In Response to Tsuneo            01/01/70 00:00      
               Surely, SiLabs assembly.ini is incorrect            01/01/70 00:00      
   using upper 128 bytes for stack            01/01/70 00:00      
      In Response to D.c. Van Warendorp            01/01/70 00:00      

Back to Subject List