banner
drsunrosa.bsky.social
@drsunrosa.bsky.social
🔞 onion bean worm bunny destroy explode

wife of mentha

........creatuer.........

pfp karasu-chan
it went perfectly fine. they said my id was enough, and made no other comment. i don't even know if they noticed it wasnt real id.
November 3, 2025 at 7:09 PM
so you just go through the normal line?
October 30, 2025 at 11:39 PM
here's a register thing i (semi-originally) made, to attract attention to it. the latch design is definitely not mine though. but i like my compact routing of the write-enable.
October 30, 2025 at 1:17 PM
epic hair woah
October 30, 2025 at 3:10 AM
there is a major difference between the main ROM and the ALU ROM. the main ROM has both a decoder and an encoder smashed together. however, the ALU only has an encoder that checks for very particular instructions. and each instruction has specific flags that it activates. see the forking traces.
October 29, 2025 at 12:45 PM
it's pretty smart tbh. i strongly considered just doing the CU ROM with a single demuxer, with a single predicate per control line. but i realized that would probably just take up more space and honestly be WAY harder to do anyway.
October 29, 2025 at 11:14 AM
im not a mad woman anymore.. jk, but i dont write csv by hand most of the time (anymore). i just use the vscode extension. but i was close to just doing it by hand TBH. still, VCBTool saves me a lot of time here with making the ROM.
October 29, 2025 at 11:12 AM
i will need SO MANY more lines than this. i anticipate writeback making me go to hell or something. but anyway. it's done for as much as i can conceive right now. i'm pretty drunk on prog though.
October 29, 2025 at 11:10 AM
whoops my old code was terribly flawed because ret was looking at the A argument instead of the return address
October 28, 2025 at 4:46 PM
and of course, if you break calling convention, and pass 5 arguments to a function that takes 3, then you will be faced with the cpu trying to return to the address of the value of argument 4, and two extra words will be left on the stack as well after that. so don't do that.
October 28, 2025 at 2:03 PM
and what ret will see is %111, because it will be popping the final word off the stack. that's why we push the return address first, since it will be accessed last. and that's why this weird macro is needed.
October 28, 2025 at 2:01 PM
as we can see, the first push, at 0x0C, pushes the return address of %111, which points to the jump at 0x1C since we use 4-byte addressing. also, the arguments are pushed in reverse order, as 3, 2, 1. at 0x1C, we have the jump instruction, to go to %1010, which is 0x2C here. ret is at 0x40.
October 28, 2025 at 2:00 PM
i've since made the calling convention macro pretty nice. it automatically reverses the argument order since they're popped LIFO
October 28, 2025 at 1:56 PM
I forgot to mention that the numbers in parenthesis are tick timings. It shows that my adder has a max delay of 18 ticks.
October 28, 2025 at 10:22 AM