postfix calculator in x86 assembly | SCHIZONE EP-30
HTML-код
- Опубликовано: 9 сен 2024
- 30th video in a series on scientific computing from scratch using x86-64 assembly. This video describes parsing and evaluation postfix expressions.
code: github.com/xmd...
3 good resources:
x86 instruction reference:
www.felixclout...
linux/freebsd syscall concordance:
www.lurklurk.o...
old draft of System-V ABI:
refspecs.linux...
secret discord link:
xmdi.us/misc/d...
It's so cool
As an immediate calculator, this is fine. However, if you want to write a program, your only option (currently) is to save a string in Notepad, then copy that to the command line.
HP (and Swiss Micro) programmable RPN calculators are your next step, right?
I need to watch your video series from the start.
Thanks for your comment! Yeah, as you pointed out, this particular implementation is only useful for quick arithmetic on x86, a platform for which much better calculating solutions exist. The actual underlying purpose for this postfix parser is to handle calculating expressions at runtime in more sophisticated programs. As an example, we might want to express the position/orientation of 3D models (see other videos in this series) as a function of time, or we may wish to express some geometric dimensions as a function of another dimension at runtime. I have big plans :)
@@xmdi0 It's always fun when RUclips makes a new video suggestion. You have some impressive stuff in the series.
Thank you for your efforts to date.
Σ