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.
3
votes
How were interpreters loaded into computers?
The Altair 8800 had a set of switches on the front panel which could be used to store arbitrary data to arbitrary bytes of RAM. The designers of the Altair published a boot loader that was IIRC a lit …
1
vote
When did Intel undergo the SEX change?
The first CMOS microprocessor, the CDP1802, has a 4-bit "X" register which is used to select one of 16 registers for use with many opcodes including those for arithmetic and bitwise operations. That …
6
votes
Memory models for assembly libraries for Turbo C
Given a function declaration like
void far copyAnywhere(void far *dest, void far *src, unsigned len);
it will be usable from within any memory model except huge. If called from within e.g. small m …
4
votes
Z80 string iteration failing
A handy way of outputting a string on the Z80 is to use something like:
primm:
ex (sp),hl
primmlp:
ld a,(hl)
call putchar
inc hl
ld a,(hl)
or a
jr nz,primmlp
ex (sp),hl
ret
The mess …
5
votes
Better way to do Z80 "bank switch & call"?
The normal way to handle cross-bank calls is to use a springboard which is either in an unbanked area of memory or appears identically in both old and new areas. If one doesn't mind using a different …
3
votes
Motorola 6809 two stacks design
I suspect the biggest benefit of a frame pointer comes when a program mixes a high-level language with in-line assembly or machine code [as was much more common in the 6809's heyday than it is now]. …
11
votes
Accepted
Why does the Z80 JP (absolute) instruction always take 10 states to execute?
The JR instructions are slow when the branch is taken because they use a four-bit(!) ALU to compute the new address. This calculation can't start until after the target address is fetched (which it a …
2
votes
Why have both the ORG and LOC pseudo-operations in the SHARE/Symbolic/Fortran Assembly Progr...
Nowadays it's common to handle such things using linkers that allow section logical and load addresses to be specified separately, but for projects that are built using a single assembly-language file …
16
votes
Accepted
What is an "unused" memory address?
Back in the day, it meant that present versions of the Commodore BASIC and Kernel did not use those locations, but Commodore said nothing about whether future versions of the ROM might do so. Address …
1
vote
Why didn't the CP/M-86 assembler support traditional macros?
Some macro assemblers have a macro construct which performs text substitution within a line, some have features that allow a line to be replaced with a sequence of lines, and some have both. The two …
3
votes
Creating 8086 binary larger than 64 KiB using NASM or any other assembler
If one can divide the program into a number of sections of 64K or less, and can assign global sequential indices to every cross-section entry point, one could produce a table in the data segment wiht …
1
vote
Why didn't the 6502 have increment/decrement opcodes for A?
Although the instructions LSR, ROR, ASL, and ROL were described as having five addressing modes that include "accumulator mode", each of them should really be thought of as two instructions, e.g. "LSR …
2
votes
When did assembly source code begin to be written in lowercase?
It may be worth noting that in the early days of computing, many documents consisting entirely of human-language text which was intended to be read solely by humans were reproduced in all caps. Photo …
13
votes
Why didn't the 6502 have increment/decrement opcodes for A?
If one writes opcodes in binary, using the format III-AAA-gg (with "III" generally being "Instruction", "AAA" being "Address mode", and "gg" as "general instruction group"), most instructions of the f …
5
votes
When did Nintendo switch from assembly to a higher programming language?
An aspect of development which hasn't yet been mentioned is that many games are developed using what are called "domain specific languages", which are often tailored around the particular needs of a g …