Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Assembly languages in general, of any architecture. Use with the particular processor’s tag as appropriate.
56
votes
Why weren't 80s arcade games programmed in C?
For performance you needed assembly. Even C compilers didn't produce code as fast as an assembler in those days.
Thirdly, people tends to use what they know. …
5
votes
Accepted
why the result comes out as 1, rather than 2, in this 8086 Subtract with borrow?
It's quite simple really. sbb is "subtract with borrow". It uses the CPU carry flag as the borrow flag. stc sets the carry flag, which means that sbb thinks there is a borrow and, instead of subtracti …
3
votes
Did any assemblers work like this?
Unlike a lot of high level code, assembly source code is usually festooned with comments. … So, I think people would just put up with the slow assembly times resulting from assembling to disk. …
5
votes
Which was the first programming language that had data types?
Machine language (and Assembly language) don't have the concept of data types
This is not true. …
4
votes
Using C64 floating point kernal routines with 16 bit integer
Consider this an addendum to Raffzahn's answer. If you are going to accept one, accept his.
The code for your first multiplication might look like this (note I haven't tested this)
lda #$12
ldy #$34 …
2
votes
Uses for the halt instruction?
Did operating systems (CP/M, Acorn MOS) or Basic variants make use of it?
The Sinclair Spectrum used the halt instruction in its "event loop". After initialisation, it would execute a halt instru …
7
votes
Is the software available to simulate building a computer from the ground up? For example a ...
There's a book The Elements of Computing Systems: Building a Modern Computer from First Principles which takes the reader through the steps in designing and building computers from the logic gate leve …
11
votes
How does 6502 machine code process $ (address) VS #$ (value)?
How does the 6502's machine code process $ vs #$, as in it's assembly language? …