I really like RPN and use it on my phone. It's actually really good when shopping. Enter how much you have, then subtract the cost of each item. You've always got how much is left shown.
You pressed a lot of buttons for a 73 old subscriber. From that tiny Sinclair calculator kit, one had to construct ones self (prompting another memory of the Sinclair audio amplifiers [not much much bigger than a box of Swan Vester matches] beautifully designed cases with sexy heat sinks but containing just three transistors); then the 4004 development board with a hexadecimal keyboard and 8 digit display, 4 bits rule!; onto forth, the first compiled language for 8 bit computers. Not to mention reverse engineering the input parsing code for the Microsoft Basic on a TRS-80. I told you not to mention that! Limited resources were so much more fun than the 2GHz,16GBytes, i7, ThinkPad I have now.
Modern stack frames don’t limit you to the top item only. Instead they are a pointer to the current top item, but can be indexed to give access to all items below (or even above - in other words items that have been popped already) it. When you call a subroutine then parameters are pushed, then the call instruction pushes the return address. The subroutine can access all of the parameters without popping them, and the caller need only add the size of the parameters to the stack pointer on returning to discard them.
Impressed by the depth and effort in this video. Your hard work adds value, even if the audience is niche. Looking forward to more.
I really like RPN and use it on my phone. It's actually really good when shopping. Enter how much you have, then subtract the cost of each item. You've always got how much is left shown.
You pressed a lot of buttons for a 73 old subscriber. From that tiny Sinclair calculator kit, one had to construct ones self (prompting another memory of the Sinclair audio amplifiers [not much much bigger than a box of Swan Vester matches] beautifully designed cases with sexy heat sinks but containing just three transistors); then the 4004 development board with a hexadecimal keyboard and 8 digit display, 4 bits rule!; onto forth, the first compiled language for 8 bit computers. Not to mention reverse engineering the input parsing code for the Microsoft Basic on a TRS-80. I told you not to mention that! Limited resources were so much more fun than the 2GHz,16GBytes, i7, ThinkPad I have now.
Modern stack frames don’t limit you to the top item only. Instead they are a pointer to the current top item, but can be indexed to give access to all items below (or even above - in other words items that have been popped already) it. When you call a subroutine then parameters are pushed, then the call instruction pushes the return address. The subroutine can access all of the parameters without popping them, and the caller need only add the size of the parameters to the stack pointer on returning to discard them.
Well put together. Thank you. It's one of those memes you see on your timelines.