2024-05-22 03:05:27 holy shit after writing an assembler for x86, mips looks like it's going to be a cake walk 2024-05-22 03:12:25 x86 is kinda like a Saturn-V bolted onto an 8086 2024-05-22 04:07:49 mips may be your frien. 2024-05-22 04:07:56 friend, fiend, or otherwise pal. 2024-05-22 04:08:06 simple instruction sets are lovely. 2024-05-22 04:08:36 x86 and beyond has been macro ass-em dating way back 20 years prior, layered on with complexity for the sake of dealing with large fat pipes. 2024-05-22 04:08:37 so when you use a forth assembler, do you expect the destination to be the left operand or the right operand? a b c add, ( what's the destinstion reg, a or c?) 2024-05-22 04:09:21 a b c add3 would work. 2024-05-22 04:09:38 a b c add would => a b+c 2024-05-22 04:10:00 its stack based, top of stack is right most on the stack. 2024-05-22 04:10:20 a is bottom, b is middle, c is top 2024-05-22 04:10:29 1 2 3 add in most cases unless elon musk thinking... -> 1 5 2024-05-22 04:10:34 hope that helps. 2024-05-22 04:10:38 good night. 2024-05-22 04:10:57 it doesn't, actually. i think you're drunk. 2024-05-22 04:49:18 1 2 3 + . 5 ok 2024-05-22 04:49:18 .s <1> 1 ok 2024-05-22 04:49:35 not sure where I'm wrong, but maybe I'm drunk :) 2024-05-22 04:49:51 if you define 'add' as the word + 2024-05-22 04:49:59 anyway, hope that helps those with dimentia 2024-05-22 04:50:20 cause it does me 2024-05-22 06:05:27 I'm building the My4th machines 2024-05-22 06:05:35 https://twitch.tv/elf_ate_all 2024-05-22 13:50:19 Al2O3: i'm not talking about the + operator, i'm talking about an assembler vocabulary. i.e., what's activated between code and end-code 2024-05-22 14:34:43 zelgomer: I think you should do what most closely matches the manual 2024-05-22 14:34:59 Putting the mnemonic at end is one thing, but changing order of args as well is diabolical 2024-05-22 14:35:14 So basically fuck gas, gas can go to hell 2024-05-22 14:38:13 + 2 3; 2 + 3; 2 3 + 2024-05-22 14:42:10 gas is - 5 3 => -2 2024-05-22 14:42:44 I'm familiar with gas :| 2024-05-22 15:02:10 what's gas? 2024-05-22 15:02:26 GNU assembler 2024-05-22 15:02:39 On x86, it swaps the order of the operands 2024-05-22 15:04:11 Oh 2024-05-22 15:04:16 That's sad 2024-05-22 15:04:25 https://github.com/kjosib/glowing-chainsaw - report-making DSL 2024-05-22 17:36:12 Implementing a little query language could be a fun project. I created a POS system for a multi-party yard sale. Pulling stats out has been pretty interesting. 2024-05-22 17:42:59 traveler, fun, in which language did you implement it? 2024-05-22 17:45:11 rendar: the POS terminal was a gforth appliation running in Termux on an Android tablet. My gforth application would append to a csv in the Termux filesystem and sync that to a remote machine for backups. 2024-05-22 17:45:35 cool! 2024-05-22 17:46:04 I repurposed a Nullbits Tidbid macropad as the 10-key and to assign item amounts to different sellers. 2024-05-22 17:47:09 I also ran my data through ledger-cli as a way to pretty-print the data but also sanity-check it. 2024-05-22 17:47:20 Used Awk for that.