Click here to Skip to main content
15,891,136 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Q&A, later in the 21st Century Pin
CodeWraith6-Dec-20 3:03
CodeWraith6-Dec-20 3:03 
GeneralRe: Q&A, later in the 21st Century Pin
Marc Clifton6-Dec-20 3:38
mvaMarc Clifton6-Dec-20 3:38 
GeneralRe: Q&A, later in the 21st Century Pin
MKJCP7-Dec-20 3:13
MKJCP7-Dec-20 3:13 
GeneralRe: Q&A, later in the 21st Century Pin
W Balboos, GHB7-Dec-20 3:43
W Balboos, GHB7-Dec-20 3:43 
GeneralFrom my crossassembler's manual Pin
CodeWraith5-Dec-20 9:24
CodeWraith5-Dec-20 9:24 
GeneralRe: From my crossassembler's manual Pin
Gerry Schmitz5-Dec-20 9:34
mveGerry Schmitz5-Dec-20 9:34 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 9:58
CodeWraith5-Dec-20 9:58 
GeneralRe: From my crossassembler's manual Pin
trønderen5-Dec-20 12:58
trønderen5-Dec-20 12:58 
CodeWraith wrote:
I have a nice set of general purpose registers, of which any can be made the current stack pointer at any time.
You could go a lot further. What was the name of that TI chip (9900?) that had all its registers in RAM, with only a single "register block pointer" in the CPU? So general performance was mediocre, but interrupt response was excellent! A single clock cycle to set the register block pointer, and the interrupt handler could start using its private registers, with no need to save anything at all. Same for processes/threads: They all had their private register sets.

A less extreme variant: One of the first CPUs I programmed had 16 register blocks (each consisting of 16 special purpose registers), one block for each of the 16 interrupt priority levels. When an interrupt signal arrived, the first instruction of the handler was executing 900 ns later, which was quite hefty for a "PDP-11 class" 16 bit mini in the mid 1970s. But this was limited to interrupt handling: All ordinary user processes shared a single register block.
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 14:47
CodeWraith5-Dec-20 14:47 
GeneralRe: From my crossassembler's manual Pin
OriginalGriff5-Dec-20 9:58
mveOriginalGriff5-Dec-20 9:58 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 10:52
CodeWraith5-Dec-20 10:52 
GeneralRe: From my crossassembler's manual Pin
harold aptroot5-Dec-20 12:10
harold aptroot5-Dec-20 12:10 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 12:32
CodeWraith5-Dec-20 12:32 
GeneralRe: From my crossassembler's manual Pin
trønderen5-Dec-20 12:44
trønderen5-Dec-20 12:44 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 14:09
CodeWraith5-Dec-20 14:09 
GeneralRe: From my crossassembler's manual Pin
trønderen5-Dec-20 16:54
trønderen5-Dec-20 16:54 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 23:49
CodeWraith5-Dec-20 23:49 
GeneralRe: From my crossassembler's manual Pin
glennPattonWork35-Dec-20 10:24
professionalglennPattonWork35-Dec-20 10:24 
GeneralRe: From my crossassembler's manual Pin
OriginalGriff5-Dec-20 10:50
mveOriginalGriff5-Dec-20 10:50 
GeneralRe: From my crossassembler's manual Pin
glennPattonWork35-Dec-20 10:58
professionalglennPattonWork35-Dec-20 10:58 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 11:42
CodeWraith5-Dec-20 11:42 
GeneralRe: From my crossassembler's manual Pin
OriginalGriff5-Dec-20 20:20
mveOriginalGriff5-Dec-20 20:20 
GeneralRe: From my crossassembler's manual Pin
trønderen5-Dec-20 13:40
trønderen5-Dec-20 13:40 
GeneralRe: From my crossassembler's manual Pin
CodeWraith5-Dec-20 14:40
CodeWraith5-Dec-20 14:40 
GeneralRe: From my crossassembler's manual Pin
trønderen5-Dec-20 17:25
trønderen5-Dec-20 17:25 

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.