Thinking in 6502 - Hello, World!

By Colin Hoad | Apr 26, 2026
RSS

First in a new series of videos looking at programming in 6502 assembly code! My aim with these videos is to explore how 6502 assembly programming works, and compare programs written in BBC BASIC to their equivalent in 6502. This is a "learn as you go" series, as I am very much a beginner myself. The intention here is for you to learn along with me, as I make use of the BBC BASIC in-line assembler to drop into and out of assembly code, demonstrating how it works and how it compares to higher level languages like BASIC.


In this first video, I take the simplest of all programs, the "hello, world!" program. But rather than just showing you the code, I will be demonstrating how it would work in BASIC with a vastly reduced instruction set, mimicking the way that programs are written in assembly. In this way, I hope to show you how to start "thinking in 6502"!


Special thanks to Chris Bradburne for both the inspiration behind this video series and for his help in collaborating with me on it.


Extra special thanks to Nicole Marie T for once again providing a superb soundtrack for this video. I hope you enjoy her newly commissioned piece, "Creative Assembler", as much as I do! You can hear more of Nicole's work here: https://nicolemakesmusic.wixsite.com/nicolemariet


00:00 Introduction

02:28 Hello World in BBC BASIC

03:05 Printing without PRINT

07:06 Looping without loops

09:48 Stepping into the in-line assembler

12:40 First commands in 6502

15:43 Printing to the screen

18:00 Labels

19:44 Data vs. instructions

22:15 Creating a loop in 6502

26:50 Final thoughts