Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hellorld! on MCS-48 Microcontroller. #14

Open
89Mods opened this issue Dec 12, 2023 · 0 comments
Open

Hellorld! on MCS-48 Microcontroller. #14

89Mods opened this issue Dec 12, 2023 · 0 comments

Comments

@89Mods
Copy link

89Mods commented Dec 12, 2023

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                                 |....<.|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant