Top "X86-16" questions

For programming and/or microarchitecture questions about the 16-bit x86 Intel CPUs, including the 8088, 8086, and later chips running in 16-bit mode.

What are the segment and offset in real mode memory addressing?

I am reading about memory addressing. I read about segment offset and then about descriptor offset. I know how to …

assembly x86 x86-16 real-mode memory-segmentation
8086/88 emulator for ubuntu

I need to emulate assembly for 8086 program in Ubuntu. I searched repository and I found 8085 emulator which is not similar …

assembly emulation x86-16
Most Efficient way to set Register to 1 or (-1)

I am taking an assembly course now, and the guy who checks our home assignments is a very pedantic old-school …

assembly performance xor cpu-registers x86-16
How is a physical address generated in 8086?

In the 8086 architecture, the memory space is 1 MiB in size and divided into logical segments of up to 64 KiB each. …

x86-16 memory-address microprocessors
How to tell GCC to generate 16-bit code for real mode

I am writing real mode function, which should be normal function with stackframes and so, but it should use %sp …

c gcc assembly x86-16 inline-assembly
Register addressing mode vs Direct addressing mode

I encountered this question in a test paper. It stated, Which of the given addressing modes is faster? Why? Register …

assembly x86-16 addressing-mode
How to check keys status in x86 assembly?

I took x86 assembly as a hobby this past january so I could make games that would work on old 8086…

assembly input keyboard x86 x86-16
SAL/SAR vs SHR/SAR in assembly 8086

I am learning assembly language (specific to x86). I have understood that the SAL and SHL works in similar way (…

assembly x86-16 opcode
How to prompt user for string and display it again in Assembly Language Programming

I'm having trouble with my assembly language code. We were asked to prompt user for input string and we're supposed …

assembly masm x86-16 dosbox dox
Importance of Hexadecimal numbers in Computer Science

When studying programming 8085, 8086 and microporcessors in general we always have hexadecimal representation. Its ok that binary numbers are important in …

assembly masm x86-16 hex 8085