Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about 8-bit

Read more about 8-bit

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - 8-bit

How can x86 arithmetic in 8 bit mode and update the flags?

I want simulate 8051 using the x86 instruction. In 32 bits mode, I have to rotate left to get the carry flag. it is more steps to get the overflow flag. Do you know how to AL, BL, CL, DL, to do arithm...
test-img

qjpdzjcb

assembly

x86

8051

8-bit

eflags

Votes: 0

Answers: 1

Latest Answer

Thank you very much. "ADD AL, CL" work. I am not quite familiar with x86 ISA, because of 8bit 16bit 32bit 64bit and its compatibility. I try ADD instruction to see the flags changing all day...
test-img

qjpdzjcb

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved