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.

Adding signed numbers in assembly

I want to sum an array elements. This array contains positive and negative numbers. array db 07, 00, -3, 10, -7, 14, 9, -5, -100 …

assembly x86 signed addition x86-16
What is the difference between RCR and ROR?

I understand the from the terms that RCR would rotate the bit from the right to left, taking the bit …

x86-16 assembly
Check if a number is odd or even (mathematical parity)

For a one digit number, I want to know if it's odd or even (multiple of 2). For example, given 9, print …

assembly x86-16 parity
Error: Operation size not specified - NASm

I'm working in 16 bit NASM assembly having an issue where my code won't build. The error happens on all the …

assembly nasm x86-16 mov
What is meaning of .model small in 8086 programs?

I am a beginner in 8086 assembly language. I can understand the logic used in the program and write small programs …

assembly masm x86-16
What do ds:si and es:di mean in assembly?

The movsb (move string, bytes) instruction fetches the byte at address ds:si, stores it at address es:di, and …

assembly x86-16 cpu-registers addressing-mode memory-segmentation
Assembly multiplication of 16-bit x 32-bit => 48-bit

Assume I want to multiply a large number by another (maybe small) number in assembly. The big number (multiplicand) is …

assembly x86-16 bigint extended-precision
8086 masm program for palindrome checking

.code > > start: > mov ax,03h > int 10h > mov ax,seg msg1 > mov ds,ax &…

assembly masm x86-16 8085
Looking for 16-bit x86 compiler

I am working on an embedded systems project and have run into an issue of the compiler being programatically embedded …

c++ compiler-construction embedded x86-16
x86 assembly: Pass parameter to a function through stack

I'm trying to make a subprogram in assembly which will draw a square on the screen. I don't think I …

assembly x86 cpu-registers x86-16