Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.


 
GeneralRe: One Lucky pooch! PinmemberCDP180218-Nov-12 0:24 
GeneralRe: One Lucky pooch! PinmemberAndy_L_J18-Nov-12 1:17 
GeneralRe: One Lucky pooch! PinmemberCDP180218-Nov-12 1:38 
GeneralBlatant Programming Question [modified] PinmemberCDP180217-Nov-12 23:47 
GeneralRe: Blatant Programming Question PinmemberRugbyLeague18-Nov-12 0:03 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 0:11 
GeneralRe: Blatant Programming Question Pinmemberharold aptroot18-Nov-12 1:10 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 1:34 
No, that's exactly the problem. It appears like they did not waste much time on passing parameters or allocating local data on the stack when they designed 8 bit CPUs.
 
The old CDP1802 has 16 general purpose registers, 16 bit each. You can pick any of them to be the program counter or stack pointer, beyond that you are almost entirely free to use them as you wish. That's one of the features that make me like this old processor so much, but it also makes the bad habit of passing values in registers too easy.
GeneralRe: Blatant Programming Question PinmvpOriginalGriff18-Nov-12 1:42 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 2:12 
GeneralRe: Blatant Programming Question PinmvpOriginalGriff18-Nov-12 2:19 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 2:41 
GeneralRe: Blatant Programming Question PinmvpOriginalGriff18-Nov-12 3:02 
GeneralRe: Blatant Programming Question PinmemberMike Hankey18-Nov-12 3:18 
GeneralRe: Blatant Programming Question PinmemberMike Hankey18-Nov-12 3:27 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 4:07 
GeneralRe: Blatant Programming Question PinmemberForogar18-Nov-12 4:26 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 4:49 
GeneralRe: Blatant Programming Question PinmemberMike Hankey18-Nov-12 4:29 
GeneralRe: Blatant Programming Question PinmemberVivic18-Nov-12 6:24 
GeneralRe: Blatant Programming Question PinmemberRoger Wright18-Nov-12 18:07 
GeneralRe: Blatant Programming Question PinmemberCDP180218-Nov-12 20:20 
GeneralRe: Blatant Programming Question PinmemberRoger Wright19-Nov-12 3:14 
GeneralRe: Blatant Programming Question PinmemberCDP180219-Nov-12 3:21 
GeneralRe: Blatant Programming Question PinmemberRage18-Nov-12 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150301.1 | Last Updated 2 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid