|
|
|
Last visit was: Sat Apr 18, 2026 2:40 am
|
It is currently Sat Apr 18, 2026 2:40 am
|
Stack Memory and User RAM
| Author |
Message |
|
Sid
Joined: Wed Mar 26, 2025 9:50 pm Posts: 5
|
G'Day all,
I am designing a 16-Bit TTL CPU and was looking at building separate ROM, RAM and Stack Pointer memory spaces. The SP register and associated Stack RAM separate to the normal User accessible RAM. The CPU design is geared around doing a lot of parallel operations and the idea I had to allow stack operations to be independent of Instruction fetchs and RD/WR operations on RAM.
Why? - The idea being that you only need to do PUSH and POP operations and by using a separate bus between the registers and the SP unit you can free the address/data bus connecting the ROM or RAM to do other tasks in parallel.
The instruction set would include:
- RSP - Reset SP (resets back to 0000 or FFFF depending on which direction you want to PUSH/POP). - LDSP - Load SP into a specific Register - STSP - Store Register into the SP counter. - and obviously PUSH & POP
Can anyone see a case where this would not work?
Sid
|
| Fri Apr 17, 2026 3:54 am |
|
Who is online |
Users browsing this forum: claudebot and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|