Finishing our PRINTF in Assembly
Today we'll finish our 16bit PRINTF in Assembly. This is perfect for debugging when you write an OS because you will be working in 16 bit and this even works in 16 bit protected mode. So we're writing our own Printf-style function in Assembly. This is a stand-alone series but we'll use my OS project as a base. You find the code in the repo below (same folder as my OS kernel). Enjoy! JB #OSdev References 1. Become a channel member and get several benefits, check out: / @dr-jonas-birch 2. Ep01: Coding PRINTF in Assembly • Coding an Assembly PRINTF for 16 bit real-... 3. Coding your own OS kernel in C and Assembly • Coding an OS kernel in C and Assembly 4. Check out my premium courses https://courses.doctorbirch.com 5. Felix' Asm instructions: Enter https://www.felixcloutier.com/x86/enter 6. Repo with my OS kernel & this Printf function https://repo.doctorbirch.com/oskernel 00:00:00 Introduction 00:00:41 memcpy and memset 00:21:49 decimal to string 01:23:07 Solving the problem 01:31:52 strlen 02:24:52 Fixing %s 02:34:12 Building %x 04:04:10 Troubleshooting

I implemented the `md5` algorithm in Bash with 0 external utilities

9 different C Projects: The 1st episodes 2023

This shell feature is really cool! Async programming with `coproc` in Bash

Design a DIY login device with a physical key

The C Killer? I Tried Odin Lang

A TEMPEST In AT-Cup: The IBM TPC

Coding a Linux kernel module in C

Why Modern Notepad Sucks — How I Made It 2.5KB Again!

How C Really Works

Linux Full Course for Beginners | Learn Linux System Administration

Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

How do computers work? (from scratch, no prior knowledge needed)

The Obsessive Engineering of Precision Linear Motion

The Theoretical Limit of Image Compression

I never understood why the Schrödinger's equation has an i...until now!

The most beautiful formula not enough people understand

Their Junior Tech Destroyed This $2000 Gaming Laptop In 60 Seconds!

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Ceiling fans: the simple idea we keep screwing up

