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's the purpose of the LEA instruction?

For me, it just seems like a funky MOV. What's its purpose and when should I use it?

assembly x86 x86-64 x86-16
While, Do While, For loops in Assembly Language (emu8086)

I want to convert simple loops in high-level languages into assembly language (for emu8086) say, I have this code: for(…

loops for-loop assembly while-loop x86-16
What does OFFSET in 16 bit assembly code mean?

I am going through some example assembly code for 16-bit real mode. I've come across the lines: mov bx, cs …

assembly x86 masm x86-16 16-bit
MUL function in assembly

I am trying to execute simple multiplication in Assembly. However, I do not see the registers change when the MUL …

assembly x86 x86-16 multiplication
How to set 1 second time delay at assembly language 8086

My problem is that I have written a code that is supposed to output a result into a set of …

assembly time delay x86-16
How do I disassemble raw 16-bit x86 machine code?

I'd like to disassemble the MBR (first 512 bytes) of a bootable x86 disk that I have. I have copied the …

linux assembly x86 x86-16 mbr
What is the purpose of CS and IP registers in Intel 8086 assembly?

So, as the question states, what is the purpose of CS and IP registers in intel's 8086 I found this explanation: …

x86 intel x86-16
Generating a random number within range of 0-9 in x86 8086 Assembly

First of all, I am very new to 8086 Assembly and it has been pretty difficult for me the grab the …

assembly random x86 x86-16
Difference between SHL and SAL in 80x86

I have learned how to work with 80x86 assembler, so in bit-wise shift operation, I faced a problem with SAL …

assembly x86-16 bit-shift
How many ways to set a register to zero?

I'm curious how many ways are there to set a register to zero in x86 assembly. Using one instruction. Someone …

assembly x86 x86-16 tasm