It has been about 30 years since I attempted any boolean algebra or Karnaugh mapping, so please take my limited advice with a grain of salt, but I think that you might be able to leave the first term alone and factor /C out of the second and third terms, ending up with /A/BC + /CA. Going back to ...
I created a truth table with three inputs and randomly select high outputs so that I could practice doing boolean algebra. I've been able to answer some I've seen on the internet, but have failed when I just made up my own example to practice with. I've included a picture to see how far I got and ...
The only real problem with pushing the elements on the stack is that it's not really a viable option on the 6502, not on the system stack at least, and especially not string values. You can push them on A stack (Forth uses the top of Zero page and indexes with X), but that's using X as your stack ...
I'm not of much help here but are you talking about making an assembler to parse strings or just writing some code with embedded subroutines? It looks like you are writing an assembler. Dwight
I'm just a noob, but I have big dreams!
I'm learning x86 and 6502, so writing an assembler is like a ...
It "works", that is it compiles and builds and runs, and should convey the concepts. It doesn't use any library functions (save printf for the example).
Most routines that accept variable numbers of arguments represent those arguments as an array, that's ...
Yes, something like that. I'm quite sure that any approach I might sketch out would be modified if I actually sat down to try to write the code.
By handler I just meant a subroutine. In fact, with your problem as stated, you need to turn the ASCII digits into a number, as well as checking that the ...
With the {n} syntax, it becomes a parsing problem. I think I'd call a handler as soon as I see the "{", whose job is to process the {n} and to return an error (somehow) if the syntax is wrong.
In the case of printf, if you want to print an actual % you use %%. Again, the handler can do that ...