Last issue we built a simple assembler for our TIny-P processor emulator. In this installment, we will build a loader. But what is a loader? Loaders are small programs that load other programs into system memory and prepare them for execution. Most loaders are part of an Operating System however, in the embedded world, there
Tag: Interpreter
Implementing Stack Oriented Languages – Part 4
Strings and Variable So far we’ve added lots of stack operations and a couple I/O routines with the KEY and EMIT keywords. At the moment if we wanted to write a simple “Hello World” application we would need to place each character on the stack and pop them off using the EMIT keyword. This is
Continue Reading “Implementing Stack Oriented Languages – Part 4”
Implementing Stack Oriented Languages – Part 3
Before we move on to adding more features to our language, I think it is high time we combine our disparate parts into a single entity.
Continue Reading “Implementing Stack Oriented Languages – Part 3”
Implementing Stack Oriented Languages
TLDR; Warning long post While most software developers have heard of Structural, Imperative, Object-Oriented, Prototypal, and Functional programming paradigms, and the language types that support them. Few have heard of Stack Oriented Programming even though it’s been around for quite some time. while this seemingly obscure programming construct is out of the norm for most
Recent Comments