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.
7
votes
Accepted
Is RosAsm assembler self-hosting?
As far as I’m aware, no.
Yes, RosAsm is GPL-licensed free software, and its source code is included inside the executables. (Run strings RosAsm2049a.EXE to see it.)
Yes, but not from the command-li …
11
votes
Accepted
Memory models for assembly libraries for Turbo C
It is however possible to write code which will adjust to different memory models at build time, so a single assembly file can be used to produce all the required object file variants. …
24
votes
Accepted
Why use repeated STZ instructions with the same operand on the 65C816 for the SNES (Super Ni...
This is a “write-twice” register, a 16-bit register mapped into a single byte, which takes two 8-bit stores to populate. There are a number of these on the SNES, with varying write orders (high or low …
16
votes
Looking for an open source DOS .com program written in assembly
A number of FreeDOS programs are written in x86 assembly language, including games such as Floppy Bird and Invaders. … A few demoscene productions for the PC include source code, usually in assembly language, but all those I’m aware of require a 386. …
7
votes
Accepted
Was The Telemark Assembler available for the Unix or Mac Environments?
According to the release notes which accompany version 3.2, the Telemark Assembler was available for Linux starting with version 3.1. This included source code, which I'd imagine shouldn't be too hard …
11
votes
Accepted
What can an 8086 CPU do if an x87 floating-point coprocessor is attached to it?
The 8087 doesn’t add new capabilities to the 8086 itself; it acts purely as a co-processor — a similar model which might be more familiar nowadays is that of a GPU attached to a CPU.
The 8087’s regis …
32
votes
Accepted
Where can I find the debate around snow-free screen updates mentioned in the Zen of Assembly...
The discussion started with an article by Augie Hansen, Instant Screens, in the June 1986 issue of PC Tech Journal. That article describes the snow problem in detail, and presents a technique to avoid …
20
votes
Accepted
What does an ADC (add with carry) instruction following ADD do?
As others have explained, ADC adds its two operands and the carry bit, storing the result in the first operand. Like ADD, it sets the carry bit as appropriate: adding two n-bit values produces a (n+1) …
31
votes
Accepted
How to write directly to video memory using "debug.exe" in MS-DOS?
You need to use a segment and offset, 0xB8000 can’t be represented directly in 16 bits:
mov ax, b800
mov ds, ax
; set AX appropriately here, or write an immediate value
mov [0000], ax
You need to go …
83
votes
Accepted
Who is credited for the creation of Assembly Language?
According to Wikipedia, the first assembly language, "Contracted Notation", was developed in 1947 by the late Kathleen Booth (née Britten). … The language doesn’t look anything like “modern” assembly though (see the end of this paper); it’s more a mathematical representation of computer operations. …
84
votes
Accepted
Were later MS-DOS versions still implemented in x86 assembly?
SCP developed DOS in assembly for a few very pragmatic reasons:
The last design requirement was that MS-DOS be written in assembly language. … tools on PCs for a long time, and system developers were as familiar with assembly as with any other language. …
22
votes
Accepted
What are the tiny TSRs distributed with the game “Phantasie” doing?
As others have mentioned this does indeed look like a strange attempt to allocate memory for the game.
What do the programs do?
The TSRs (and presumably the game executable) use interrupt vectors as g …
10
votes
How can I access/use memory outside of the standard 1 MB address range of MS-DOS?
Before the 286, x86 CPUs can only access 1MiB, so the only way to use memory beyond 1MiB is to use some form of bank switching. The de facto standard for that is Lotus/Intel/Microsoft EMS, which provi …
11
votes
Reason behind "ASCII Adjust" instructions being ASCII and not BCD?
The “ASCII” instructions are really about unpacked BCD, not ASCII. There is some justification for calling them “ASCII”, because unpacked BCD can easily be converted to and from ASCII, and in fact if …
6
votes
Accepted
8086 assembly relative addressing issue
As explained in Justme’s answer, there’s nothing inherently wrong with your code, and building a .COM file with
nasm -fbin -oloop.com loop.asm
produces a 29-byte file which works fine.
However there …