Re:What? More 8-Bit Microcontrollers?
by nousermane on Friday July 01, 2022 @05:34AM
(#31944189)
AVR might be not optimal in mathematical sense, but it feels so nice:
- Tons of registers, up to a point where there are attiny parts with no RAM, and they are fairly usable;
- Great code density for embedded - single-instruction atomic GPIO bit sets/bit resets, branch-if-bit-set/reset, etc;
- In general, pretty approachable instruction set, if one fancies writing some assembly/machine code directly, while GCC also targets this ISA without issues;
- Brilliant JTAG-like hardware debugging interface that uses zero extra pins (reset pin is reused), and hardware-wise, interfacing requires serial port + one diode, that's it [0]
- Tons of registers, up to a point where there are attiny parts with no RAM, and they are fairly usable;
- Great code density for embedded - single-instruction atomic GPIO bit sets/bit resets, branch-if-bit-set/reset, etc;
- In general, pretty approachable instruction set, if one fancies writing some assembly/machine code directly, while GCC also targets this ISA without issues;
- Brilliant JTAG-like hardware debugging interface that uses zero extra pins (reset pin is reused), and hardware-wise, interfacing requires serial port + one diode, that's it [0]
[0] https://github.com/dcwbrown/dwire-debug