Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,628 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,041 people online right now. Registration is fast and FREE... Join Now!




Assembly Language Question

 
Reply to this topicStart new topic

Assembly Language Question

alcodesign
post 28 Feb, 2006 - 07:33 PM
Post #1


New D.I.C Head

*
Joined: 28 Feb, 2006
Posts: 1


My Contributions


I came across this question in one of my courses that I'm not sure of. Here it is...

QUOTE
Show a pseudo assembly language code segment to load a new process onto a CPU (that is, to change the PC after restoring other registers) for a processor that contains arithmetic-logical registers R0-R3, processor status register PSR, condition code register CC, program counter PC, and instruction register IR.



I know some assembly language from a course I took not too long ago, but I'm not sure what they want here. Is the "load" statement used to populate the registers one by one? Does the stack need to be used to save existing values? Any help is greatly appreciated.
User is offlineProfile CardPM

Go to the top of the page

Voodoo Doll
post 1 Mar, 2006 - 06:46 AM
Post #2


D.I.C Head

Group Icon
Joined: 24 Jan, 2006
Posts: 107



Thanked 2 times

Dream Kudos: 175
My Contributions


Hmm, hard to tell. Generally when I hear someone talk about loading a process, I think of a kernel operation that allocates memory for address space to hold running instructions, a data stack, and bookkeeping information such as status, priority, and owner information.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:41AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month