Your CPU Cant Tell Code From Data - Inside the Von Neumann Architecture @ncot_tech
Your CPU Cant Tell Code From Data - Inside the Von Neumann Architecture  @ncot_tech
Uploaded August 2026 | Updated November 2026, 4 days ago
This video explains the Von Neumann architecture and demonstrates, with real BBC BASIC and C code, how computers fundamentally cannot tell the difference between data and executable instructions.

Join Patreon : patreon.com/ncot_tech
One time donation: ko-fi.com/ncot_tech
Website : ncot.uk

From typing in BASIC listings on a BBC Micro in the 1980s to modern x86 machine code on a PC, this video breaks down the Von Neumann architecture and the fetch-decode-execute cycle at the heart of every computer. We look at raw opcodes and ASCII data sitting side by side in memory, show how a CPU can be tricked into executing data as code, and connect that same principle to real-world exploits including the famous Super Mario World RAM manipulation TAS by Seth Bling. Along the way we cover why modern CPUs use an execute-permission bit (the NX bit) to guard against buffer overflows and code injection, how the Harvard architecture differs by physically separating code and data memory, and why this isn't a bug but a fundamental, necessary part of how programs get loaded and run. Topics covered: Von Neumann architecture, CPU fetch-decode-execute cycle, BBC BASIC and machine code, x86 assembly, memory mapping in C, buffer overflow and code injection exploits, and hardware execute protection.

Chapters
--------
00:00 Remembering BASIC Listings
00:35 The Von Neumann Architecture Explained
01:21 Inside a BBC BASIC Program with Embedded Machine Code
02:12 Decoding the Opcodes: Data or Instructions?
03:05 Recreating the Trick in C on a Modern PC
04:47 Super Mario World TAS: Hacking RAM to Skip the Game
06:10 How Hardware Fights Back: The NX Bit
06:40 The Harvard Architecture Alternative
07:01 Flipping the Execute Bit to Run Data as Code
08:01 Why This Isn't a Bug - It's the Architecture

Credits
-------
Music by Karl Casey @ White Bat Audio

## Keywords
#vonneumannarchitecture #cybersecurity #computerscience #machinecode #bufferoverflow #cpuarchitecture #retrocomputing #hacking #programming #infosec
Your CPU Cant Tell Code From Data - Inside the Von Neumann ArchitectureQuazar Graphic OLED - RC2014 Real Bitmap Display - Overview and Mini ReviewCan You Make Something Good on Weak Hardware? I TriedThe Clever Trick That Gave the ZX Spectrum 128K of RAMEasy C Programming on ZX Spectrum Next - How to set upBuilding games in C | Design and code from zeroMode X: The Graphics Trick IBM Never AuthorizedDIY Solar PV Installation - Can it save me money?Whats wrong with my #nintendo GameCube?Clueless chilled coding - Lets learn Z80 assembler - Retro programming on my RC2014Drawing Pixels Directly to Video RAM - What Could Go Wrong?FORTH - Better than BASIC?
NCOT Technology |

Your CPU Can't Tell Code From Data - Inside the Von Neumann Architecture

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER