Skip to main content

Questions tagged [assembly]

Assembly languages in general, of any architecture. Use with the particular processor’s tag as appropriate.

2 votes
1 answer
443 views

I'm trying to write an OS for the W65C02 CPU but i'm stuck because I have no idea on how to implement concurrency on such old CPU.
Elia C.'s user avatar
  • 29
8 votes
1 answer
551 views

In 6502 assembly programming, there's a common trick (usually called the RTS trick) for performing indirect jumps by pushing the target address minus one on the stack and executing a RTS instruction. ...
cyco130's user avatar
  • 331
2 votes
1 answer
377 views

are there people here who can assemble such old programs? I have only 2 such codes that I would like to assembly but I don't know how. Is this even possible? 1 Link: https://web.archive.org/web/...
David Johnson's user avatar
0 votes
0 answers
249 views
+200

It seems the Format Expert program has a hidden boot sector that can't be easily installed or extracted using the program because it's so obfuscated. This boot sector needs to be extracted in decoded ...
David Johnson's user avatar
2 votes
4 answers
417 views

I would like to write some interesting programs in assembler but I don't know where to start and how to do it. I would like a guide in simple language for dummies. Does anyone have a list of such ...
David Johnson's user avatar
7 votes
1 answer
435 views

I'm trying to display error messages like a lot of MS-DOS (4.0+) utilities do. They don't embed messages like "Too many parameters" and "Invalid switch" in the executables, but ...
Benjamin Penney's user avatar
1 vote
1 answer
309 views

Ok, I know this is a very old computer but just for fun. I have figured out how to read keyboard (0177560 for checking, 0177562 for reading) and print it (0177564 for checking, 0177566 for writing). ...
Codesynth's user avatar
  • 121
2 votes
0 answers
173 views

The Atari OS, and I suspect other "major" programs from that era, was written using the Microtec cross-assembler. I have found manuals for the Intel version as well as their later 68k ...
Maury Markowitz's user avatar
11 votes
3 answers
1k views

I have a routine cpBCHL that compares the contents of BC and HL and returns the carry set appropriately: ; ---------------------------------------------------------------------- ; ♠BCHL ♣A ♡* ...
cjs's user avatar
  • 29.5k
8 votes
1 answer
1k views

I'm wondering if anyone has ever come across a cross-assembler that takes 6502 code, in machine or assembler form, and converts it to use the new instructions available in the 65C02, or even the ...
Maury Markowitz's user avatar
9 votes
2 answers
2k views

I'm referencing this Space Invaders code. (I'm porting this to another processor and I'm trying to understand it.) The p1ShipsRem variable doesn't seem to be initialized, but it is tested early in the ...
Mike's user avatar
  • 943
8 votes
1 answer
483 views

I'm referencing this Space Invaders code. Could someone explain why the PrintMessageDel routine checks for a delay value of one instead of zero? The interrupt service routine decrements the isrDelay ...
Mike's user avatar
  • 943
8 votes
1 answer
707 views

According to dosfan, there are three known production versions of BIOS for IBM 5150 with the following datecodes: 04/21/81, 10/19/81 and 10/27/82. I am specifically asking about only the first one (...
tpimh's user avatar
  • 902
6 votes
1 answer
470 views

Turbo Pascal 3.3 for MSX apparently didn't didn't have graphics, sound or other useful functions to write games, however it allows inline machine code to be injected by using the reserved word "...
Borg Drone's user avatar
  • 2,298
13 votes
5 answers
3k views

The C language always labelled signed overflow/underflow of integers "undefined behavior". I usually argue and say that this is an artificial construct created by C. On the assembler level ...
Lundin's user avatar
  • 1,024

15 30 50 per page
1
2 3 4 5
18