Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > Propeller Chip > Registry Structure?  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

Electronegativity
Mad Scientist



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 261
 
   Posted 2/23/2006 10:05 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
32 bit O/S and 32 I/O pins, hmm....

Is it possible to push data from a register at one bit per pin?

Like if you set an SX register to output and then moved a byte into that register.

I'm trying to figure out how easy it would be to effect parallel data transfer.


I wonder if this wire is hot...

Back to Top
 

Jon Williams
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 6440
 
   Posted 2/23/2006 10:15 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Sure: outa := myPinValue, where myPinValue is a Long.


Jon Williams
Applications Engineer, Parallax

Back to Top
 

Paul Baker
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 6316
 
   Posted 2/23/2006 10:15 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Each processor has its own registers for the pins (there are 3, 1 for direction, one for reading, one for writing), so yes its is as simple as moving the contents of 1 internal register to the pin output register, and if the pins are configured as output, the value will be moved parallel-wise to the pins.


 1+1=10

Back to Top
 

Electronegativity
Mad Scientist



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 261
 
   Posted 2/23/2006 10:33 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Excellent.

Just to clarify the terminology, I am used to a long being 2 bytes and 4 bytes being a double.

I get the impresion you might be using long as 4 bytes here.


I wonder if this wire is hot...

Back to Top
 

Paul Baker
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 6316
 
   Posted 2/23/2006 10:43 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Yes, while there is some variation in certain circles, the common nomenclature is 1 byte=byte, 2 bytes=word, 4 bytes=long, 8 bytes=double long.


 1+1=10

Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 11:12 PM (GMT -8)
There are a total of 393,738 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 702 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
48 Guest(s), 2 Registered Member(s) are currently online.  Details
BradC, SRLM