Nakazoto / Hellorld

A collection of the greatest programming on the planet!
21 stars 4 forks source link

Hellorld! on MCS-48 Microcontroller. #14

Open 89Mods opened 11 months ago

89Mods commented 11 months ago

Simplest possible Hellorld! on a D8749 MCU, which doesn’t have a on-chip UART, so a P8251 is used for that role, through the 8749’s databus.

The source is here: https://github.com/89Mods/D8749-programs/blob/main/Programs/better_hellorld.asm

Picture of the setup: 20230412_203021

And finally, the bytecode:

00000000  15 35 14 26 bb 0f fb a3  c6 04 1b 14 1b 04 06 48  |.5.&...........H|
00000010  65 6c 6c 6f 72 6c 64 21  0d 0a 00 9a f9 02 8a 02  |ellorld!........|
00000020  0a 53 08 c6 20 83 23 0f  3a 14 3a 9a fe 14 3a 9a  |.S.. .#.:.:...:.|
00000030  fd 23 4e 02 23 33 02 8a  02 83 23 ff 03 ff 00 00  |.#N.#3....#.....|
00000040  00 00 00 96 3c 93                                 |....<.|