Retro Computing

Stack machines vs. RISC, a modern comparison? (opens in new tab)

I think that goes back to ARMv4 or maybe earlier. It makes implementing a bytecode interpreter/dispatcher utterly trivial in ARM world - almost as if it were designed to do that from day 1. This: ldrb r0,[regPC],#1 @ Fetch byte at regPC, Increment regPC ldr pc,[ptrJ, r0, lsl #2] @ Take byte in r0, << 2, add to ptrJ @ fetch that word, transfer into PC. (regPC and ptrJ are aliases for other general purpose registers) …is 2 instructions that per...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help