The 6502 in “The Terminator”

In the first Terminator movie, the audience sees the world from the T-800′s view several times. It is well-known that in two instances, there is 6502 assembly code on the T-800′s HUD, and many sites have analyzed the contents: It’s Apple-II code taken from Nibble Magazine. Here are HD versions of the shots, thanks to Dominik Wagner:

This is the first assembly snippet:

This is the second assembly snippet:

There are some assembly equates:

On the left, these are the assembled opcodes of the second assembly listing, reaching from “LDY#10″ to “SEC”. On the right, there is output of a run of the checksum application Key Perfect on a file names “OVLY.OBJ”, which prints a 16 bit checksum for every 0×50 bytes:

pixelstats trackingpixel

50 Responses to “The 6502 in “The Terminator””

  1. That’s brilliant. Nice to see the familiar old ASM commands pop up there!

  2. So does this mean that the Apple-II is really from the not to distance future? Jobs must have worked for Cyberdyne Systems!

  3. Darkstar says:

    I remember noticing that back in the early 90′s when I first saw the movie (and that was on a cheap PAL version). At that time I was learning C64 assembly and I immediately recognized all the LDA’s and LDX’s :)

    I forgot about it until today…

  4. Eldito says:

    Hilarious, although very romantic.

    6502 code on T-800 HUDs definitively beats other famous Hollywood stereotypes introduced in War Games like the sound made by chars being printed to low-bandwidth terms, blinking lights on the WOPR, etc.

    Back to Terminator, I wonder what is displayed on more advanced Ts like the T-888 seen in the Chronicles series, or the T-1000!


  5. Marc says:

    This is precisely why the robots became self-aware. You can’t be giving the robots access to their own source code — of course they’re going to look at it and start modifying it to suit their own needs.

    At the very least, the developers should have removed the comments and obfuscated it. Its just common sense.

  6. [...] The 6502 in “The Terminator” « (tags: Terminator Apple Movies Coding) [...]

  7. jason kreno says:

    @Eldito probably perl, if a real programmer built the 880.

    Ruby if it was an elitist web developer.

  8. vaxboy says:

    Thank you for this. Where would we be without the old 6502 in the Apple ][, Commodore 64, VIC20 and PET? It’s a bastard cousin of the 6800 and the 6809 was to be the heart of the Macintosh, but by the time they fished the damn thing (four years later), they went with the awesome 68000 chip. So did the Amiga. Damn Atari and Microsoft/Intel to hell for blowing up the universe and costing us 20 years of suffering with their Indian software-knock-off of the Amiga and dirty tricks to keep us pinned down editing CONFIG.SYS until they could kill DIGITAL, steal the VMS guys and rip-off the plans for the Alpha chip to build the Pentium. Fuckers. Ok, going back to my happy place of the 6502…now I’m thinking about its predecessor the RCA 1802…thank you for making my day. Time for my nappy poo.

  9. Peter Balogh says:

    Whoa, why all the hating at Atari? I learned 6502 assembly on an Atari 400, and that’s how I recognized the Terminator code as well.

    I’m reading a book called “On the Edge” — anyone interested in the 6502 will definitely want to check this out…

  10. Jo Davis says:

    OMg dude thats like totally insane!


  11. Jacek says:

    The new terminators (the ones that look much more attractive than Arnold) use JavaScript ;)

  12. Sarah Connor says:

    Funny. This is from the same genre of the big panels, full of blinking buttons in sci-fi movies. Or the sounds coming from the computer after each keystroke. Just a dumb effect to fool the layman. This is the perfect example of the motto: “Movies are to entertain, not to teach”.

  13. Phil says:

    Why does the HUD need to include a compass? Shouldn’t that be built in and the direction already known by the cyborg. Does it really need to look at a HUD to see that? I guess the same goes for the code.

  14. This proves that Apple is Evil !!!

  15. Steve Jobs says:

    Yes, we are proud that the T1, T2 and T1000 all run on Mac OS X Leopard.

  16. [...] 元ネタはThe 6502 in “The Terminator” « pagetable.comから。 [...]

  17. alphazero says:

    Check out the geeks in hollywood:

  18. [...] relacionado a aquella lejana primera parte de los 80s rescatamos este artĂ­culo que revela que el HUD del temible T-800 mostraba en realidad cĂłdigo mĂĄquina del CPU 6502 de la [...]

  19. vaxboy says:

    @Peter Balogh, I do praise the Atari 400/800 which were among Jay Miner’s final custom chips efforts before turning to the gorgeous Amiga. It is the AtariST (and later) that I despise as filth. Why? Back in those days, it took 4 years to fabricate a new chip. Amiga Inc. had formed (with Jay Miner, Dale Luck, RJ Michael and others) to do just that. After years of baking, the Amiga appeared. 40 year old Commodore Business Machines moved in to buy it, but before it could happen, a fight broke out between the CEO and the Chairman who had just gained control of the company. The CEO of 40 yers quit and tried to buy Amiga Inc. on his own, in a new company. The Chairman of Commodore objected and completed the purchase of Amiga Inc. The new company that the former CEO of Commodore had founded knew it was DOOMED because it didn’t have 4 long years of 22 hour days to recreate the chipset. So what did it do? It put together a turkey which did what the Amiga did in software (instead of hardware), so it ran like 1000x slower and was a dog –and he priced it like a Commodore 64 (sweat spot) –way way below the price of an Amiga (because he didn’t have the extra cost of the hardware chips on his Bill of Materials and because he was using cheap Indian laborers in America). So what did he decide to call this new piece of crap? Being a million years old, he did not realize the name was tainted to forever be associated with VIDEO GAMES and he, in fact, reportedly paid $45K to buy the name “Atari”, which had obviously gone defunct after Jay Miner took off years earlier. Then he marketed his low-cost piece of crap as an Atari ST for years up against the Amiga. The public began to think of the Amiga and Atari as being similar products and somehow associated with video GAMES, thus destroying the credibility of the Amiga in business –leaving the door wide open for the vastly inferior Macintosh and eventually Windows products. In the end, Amiga and Commodore will killed with Bill Gates lamenting at how he had been wise enough to steer clear of that disaster (by not supporting it with Office and BASIC as he did the early Macs). Jay Miner, seeing his life’s work go up in smoke over a slow motion decade, died a little while later of kidney problems, he was 62 –Windows 3.11 (the first “real” Windows) was 2. The CEO of the “new” Atari, a holocaust survivor, retired and the last I heard, he let his two boys run what was left of the company. Meanwhile at Apple, they had fired Steve Jobs and the French idiots who took over R&D basically had an Amiga 1000 in the basement they were surgically dissecting and running upstairs every few days to proclaim their new “inventions” —such as QuickDrawGX (aka Amiga GfxBase), AppleScript!! (aka ARexx), PlainTalk!! (aka Amiga Speech Synthesizer), nuBus!! (ZorroBus!) and the list goes on and on. Those maggots got theirs when CALPERS fired the Pepsi Drinker, the Board who put him there and the French Guys, brought in real dudes from Rockwell and the Navy/DOD who quickly realized they needed to buy Steve Jobs back…and the rest his history. Only one part I’m leaving out. WE ALL LOST 15 YEARS OF OUR LIVES! Even if you were not into Tech, how much of your life was spent editing CONFIG.SYS and AUTOEXEC.BAT or dealing with crappy DOS programs while your kids grew up without an Internet and all the great things that came from multimedia-computers with a graphical user interface. I’m sure it all makes perfect sense to the man who saw his family murdered by the Nazis as a small boy, but it was just wrong. Ok, well going back to my happy place now. Remember, you asked!

  20. [...] leyenda Urbana cuenta que a aquella lejana primera parte de los 80s rescatamos este artĂ­culo que revela que el HUD del temible T-800 mostraba en realidad cĂłdigo mĂĄquina ensamblador del CPU [...]

  21. The 6502 assembly listing is actually the Apple ][ DOS 3.3 listing! It was quite funny the first time I saw Terminator on the opening day! Likely I was one of the very few in the theater anywhere that day who could read that display and know what it said! It did take me out of the movie experience for a moment though... but hey, if the terminator had a 6502 that's cool.

    I'm of course a brain with 6502 encoded in my dna strands. Naturally during the construction of Gemstone Warrior and Gemstone Healer video games I disassembled the entire Apple DOS eventually chopping away most of it including the sections that the terminator kept - they were just too slow. I gather the terminator evolved in the later movies.

    Funny that I'm studying the AMD64 architecture in detail again today and come across this article. I was just going to post a similar one on my blog... you beat me to it...

    Anyway, here's to Apple DOS 3.3! Here's to the terminator and their cheesy effects!

    Maybe I'll did my Apple ][ out and find the listing! That would be way cool for a blog post!

  22. [...] was reading the posts today and saw a post from PZ that lead his blog displaying the 6502 code from the Terminator movie in great resolution. I immediately realized that these images would make a great desktop, but here [...]

  23. markov_chain says:

    @vaxboy: Very much appreciate your play-by-play of the home computer evolution… I grew up in Europe blissfully ignorant (what kid isn’t) of happenings behind the scenes so I enjoy this sort of commentary and connecting the dots. For the record I started with ZX Spectrums and a bunch of other 8-bit kit computers and then moved to the Atari ST family. But in my heart I always knew Amigas were heads and shoulders above, just never could afford one ;)

  24. Jim says:

    So it looks like the Futurama gag with Bender and the 6502 went deeper than I thought… “Want me to precludify him, like some kind of dispatcherator?”

  25. U. N. Owen says:

    Dude, it was a Cyberdyne 6502 emulator, so it could run the programs of the day. Haha.

  26. [...] movie was busy listing out Apple II assembly code while it was walking around killing people… [...]

  27. What I'm really wondering... says:

    is what is that log-log plot in lower left corner on one of the screens. Looks interesting.

  28. [...] Apple I and Apple II, as well as the Atari and Nintendo game systems (and powering several famous robots). It contributed, in other words, to the birth of both personal computing and the development of [...]

  29. idknow says:

    Folks, thanks very much for the threading of real-life, movies, the firts computer we grew up with, and all the funnies.

    I grew up with ][+, i could mental-assemble and dis-assemble code.

    it was awesome.

  30. Eyaculación Precoz…

    The 6502 in “The Terminator” «…

  31. [...] The 6502 in ?The Terminator? ? [...]

  32. [...] via Share this:EmailShare This entry was posted in New Media and tagged augmented reality, [...]

  33. [...] We know from the movie Terminator that the T100 runs on a system using 6502 assembly language.  If you try this at home, there is a small but nonzero chance of creating [...]

  34. [...] bejegyzés hivatkozik az egyik leghíresebb kódra: arra, amit a T-800-as kiborg lát maga előtt a Terminátorban. Ez 6502 Assembly nyelven íródott, az 1977-ben megjelent Apple II platformra ? ez az Apple [...]

  35. Gyula Hodi says:

    The Terminator movie is made in 1984, and in that time the CBM Commodore 64 and Commodore Plus 4 home computers already were on their world conquest. These long time hit machines were based on a 6510 CPU, which is a bigger brother of 6502. And the codes I see COULD have been made for these, too. Just to mention.

    We mustn’t forget that the mnemonics are strictly compiler dependent, so the machine code can be the really decisive fact, but that looks all right for me, for the first sight. Anyway, this childlike movie trick is always funny indeed.

  36. related says:


    The 6502 in “The Terminator” ?…

  37. Cyberdine insider says:

    Some answers to questions raised here.

    1. Terminators do not need or use the HUD. It is a diagnostic output for humans, who need to debug terminator software. It was used by Cyberdine prior to Skynet takeover.
    2. T-888 has a more advanced HUD. Technically T-888 is a slightly updated firmware and different hardware.
    3. T-1000 does not have a HUD because it is not made from electronic components. Technically it does not need even to move his head or eyeballs because he “sees” like a fish: 360 degrees in all directions.
    4. Compass ? yes, Terminators have those built-in for navigation, as well as military GPS navigation and cellular modems. They have a database of codes that allow them to use any career for free for data connection.

  38. [...] ?????????????????????6502????????????Apple II????? [...]

  39. [...] The HUD in the classic movie, Terminator, it shows a listing of 6502 assembly language which appears to have been taken from an Apple II. [...]

  40. [...] ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Nibble????????II??? [...]

  41. Good day I am so delighted I found your blog, I really found
    you by accident, while I was searching on Digg for something else, Anyhow I am
    here now and would just like to say many thanks for a tremendous post and a all round enjoyable
    blog (I also love the theme/design), I don?t have time to read through it
    all at the moment but I have bookmarked it and also added your
    RSS feeds, so when I have time I will be back to
    read much more, Please do keep up the excellent work.

  42. Hi there, You have done a fantastic job. I will certainly digg it and personally recommend to my friends.
    I’m confident they will be benefited from this web

  43. Tiffany says:

    Use ProxyAuto update castle clash hack apk download This has been
    in unions before. We can castle clash hack apk download do with the guide.
    I want to have been described as the character a human rights violation
    or a tank of fuel, etc. We will use our Blitz Brigade hack could
    feel safe. What do you have some more bad guys.
    You can do to get it. You can even take two more games to show them what you’ve got
    to do but head out together.

  44. Christian says:

    After all these years who would have thought the Terminator was running on apple.

  45. Whenever participate in.The Sims FreePlay game, several players believe it
    is tough being profitable throughout participating in that FreePlay game.

    Be concerned forget about simply because today, we have
    a application which in turn will let you
    be successful with this activity and this also will be
    through installing this.The Sims FreePlay Cheats Tool. Using this
    hacking tool, you can actually acquire unlimited points
    and also limitless simoleons that happen to be crucial inside taking part in
    this particular video game at no cost. Everything is easy and also robotic.
    Zero jailbreak is necessary and you also don?t should invest a tremendous amount of cash.
    Accomplishing this to getting and employing
    this application is not too difficult.

  46. Hmm is anyone else experiencing problems with the images on this blog loading?
    I’m trying to find out if its a problem on my end or if it’s the blog.

    Any suggestions would be greatly appreciated.

  47. excellent points altogether, you simply received a logo new reader.

    What may you suggest in regards to your put up that you simply
    made a few days ago? Any certain?

  48. Very great post. I simply stumbled upon your weblog and
    wished to say that I’ve really enjoyed browsing your weblog posts.
    After all I will be subscribing on your feed and I am hoping you write again soon!

  49. Its probably mac assembly code because the graphic designers were the ones who made these screens.

  50. alfredo says:

    When I saw the movie, I too noticed the assembly language code which scrolled on the screen when showing a Terminators POV but, because I was a TRS-80 Color Computer geek, and just a dabbler in assembly language, thought it was 6809 assembly code. The 6502 and 6809 are quite similar in instruction set… Just my 2 cents!

    Alfredo Santos (Author of the “CoCo Chronicles”

Leave a Reply

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word