Skip to main content
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
Results tagged with
Search options not deleted user 18327

The process of determining how a device was made. Usually for the purposes of replication.

3 votes

How can I make the Microsoft C compiler for DOS emit a loop with an intermediate jump to con...

TL;DR: It does not appear to be possible with the MS compiler, but I managed to get Borland Turbo C to emit the required code. Inspired by user JeremyP's suggestion that a different compiler might hav …
neuviemeporte's user avatar
10 votes
3 answers
1k views

How can I make the Microsoft C compiler for DOS emit a loop with an intermediate jump to con...

I am trying to recreate the exact C source code from some 16bit DOS 8086 assembly generated by the MS C 5.0 compiler. After making some progress, I've hit a wall with the following code (annotated in …
neuviemeporte's user avatar
14 votes
Accepted

How can I make the Microsoft C compiler for DOS emit a loop with an intermediate jump to con...

It turns out that in MS C 5.1, in addition to all the /O... options there is one seemingly unrelated one that influences the optimizations for this compiler: /Zi. In the output of CL /help it is descr …
neuviemeporte's user avatar
8 votes
1 answer
705 views

How to make Microsoft C for MS-DOS emit an immediate-target far call into the data segment?

I am trying to recreate the C source code from some 16bit DOS 8086 assembly generated by the MS C 5.0 compiler. I've hit a wall with this far call instruction. 0000008D 9A2F0CB506 call 0x6b5:0 …
neuviemeporte's user avatar