Show newer

@me I think free third-party tools are easier to find for AVR microcontrollers, which cover a lot of the same ground application-wise.

@me e.g. for the PIC24, in my Gracious Host product, I use the assembler which is basically just the GNU assembler with Microchip branding slapped onto it, but they also offer a C compiler which is GCC with the optimization crippled and they try to charge a subscription fee for reversing that. Source code for both is available if you dig, but it's doubtful whether they have really fulfilled their GPL obligations.

@me The Microchip tools run under Linux and I'm using the ones that are provided at no charge, but they're not pure FOSS. For some chip families, there are purer-FOSS tools available elsewhere, but Microchip in general is one of the less good manufacturers on this point.

@me The exact part number I've been playing with is PIC10F202.

@me I don't think the PIC10F is particularly special in this context, it's more a matter of small, cheap microcontrollers in general being able to take this role.

@me I don't know if this is an exact match, but I did talk about the Microchip PIC10F. I was looking at building a noise generator with 74LS-series *digital* components (XOR gates and shift registers) and realized it didn't make sense because a microcontroller could replace four or five of those for less than the cost of just one of them.

@Moon plot twist: the refrigerator board is also RISC-V

Altair 8800 ramblings 

@me I don't know that it particularly would be, nor how we'd know if it were. There's quite likely a multiplexer somewhere of possible branch condition inputs and a field in the branch instruction that tells that multiplexer which one to use. It'd make sense for one input to be a constant, to implement unconditional branch; but no strong reason that multiplexer would have to take exactly the status register bits in their indexed order. But it's a thought.

Altair 8800 ramblings 

@me Is an unconditional jump perhaps implemented as a conditional jump on the unconditional bit?

@me this manual, in the section on the stack in chapter 1, seems to say that the return addresses pushed on the stack are always 16 bits long. The word "byte" may be an error in the source you're quoting.

@Moon or maybe Romulan whataboutism. I can't remember which side the Klingons were on in TNG.

Show older

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!