Click here to Skip to main content
12,945,066 members (58,500 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

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! Pin
CDP180217-Nov-12 23:24
memberCDP180217-Nov-12 23:24 
GeneralRe: One Lucky pooch! Pin
Andy_L_J18-Nov-12 0:17
memberAndy_L_J18-Nov-12 0:17 
GeneralRe: One Lucky pooch! Pin
CDP180218-Nov-12 0:38
memberCDP180218-Nov-12 0:38 
GeneralBlatant Programming Question Pin
CDP180217-Nov-12 22:47
memberCDP180217-Nov-12 22:47 
GeneralRe: Blatant Programming Question Pin
RugbyLeague17-Nov-12 23:03
memberRugbyLeague17-Nov-12 23:03 
GeneralRe: Blatant Programming Question Pin
CDP180217-Nov-12 23:11
memberCDP180217-Nov-12 23:11 
GeneralRe: Blatant Programming Question Pin
harold aptroot18-Nov-12 0:10
memberharold aptroot18-Nov-12 0:10 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 0:34
memberCDP180218-Nov-12 0: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 Pin
OriginalGriff18-Nov-12 0:42
mvpOriginalGriff18-Nov-12 0:42 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 1:12
memberCDP180218-Nov-12 1:12 
GeneralRe: Blatant Programming Question Pin
OriginalGriff18-Nov-12 1:19
mvpOriginalGriff18-Nov-12 1:19 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 1:41
memberCDP180218-Nov-12 1:41 
GeneralRe: Blatant Programming Question Pin
OriginalGriff18-Nov-12 2:02
mvpOriginalGriff18-Nov-12 2:02 
GeneralRe: Blatant Programming Question Pin
Mike Hankey18-Nov-12 2:18
memberMike Hankey18-Nov-12 2:18 
GeneralRe: Blatant Programming Question Pin
Mike Hankey18-Nov-12 2:27
memberMike Hankey18-Nov-12 2:27 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 3:07
memberCDP180218-Nov-12 3:07 
GeneralRe: Blatant Programming Question Pin
Forogar18-Nov-12 3:26
memberForogar18-Nov-12 3:26 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 3:49
memberCDP180218-Nov-12 3:49 
GeneralRe: Blatant Programming Question Pin
Mike Hankey18-Nov-12 3:29
memberMike Hankey18-Nov-12 3:29 
GeneralRe: Blatant Programming Question Pin
Vivic18-Nov-12 5:24
memberVivic18-Nov-12 5:24 
GeneralRe: Blatant Programming Question Pin
Roger Wright18-Nov-12 17:07
memberRoger Wright18-Nov-12 17:07 
GeneralRe: Blatant Programming Question Pin
CDP180218-Nov-12 19:20
memberCDP180218-Nov-12 19:20 
GeneralRe: Blatant Programming Question Pin
Roger Wright19-Nov-12 2:14
memberRoger Wright19-Nov-12 2:14 
GeneralRe: Blatant Programming Question Pin
CDP180219-Nov-12 2:21
memberCDP180219-Nov-12 2:21 
GeneralRe: Blatant Programming Question Pin
Rage18-Nov-12 22:12
memberRage18-Nov-12 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.170518.1 | Last Updated 23 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid