Reply To: C++ Programming

Forumite Points: 6,307

Well I do know a fair amount of x86 assembly and a whole lot of 6502 😁. Programming x86 in Real mode is fairly simple but if you switch to Protected mode it gets a whole lot more complicated. The best idea is to get hold of a micro kernel that will set up the memory tables and handle the switch to protected mode for you but even then you have a bewildering array of new registers to deal with.

If you want to write asm programs that run on a modern OS like Windows then things get even more complicated because you have to deal with its memory model too.

On the the other hand, a modern language like C++ will handle that for you. You can’t get that close to the metal anyway because your user programs are in CPU ring 3 and it just isn’t allowed.