---
title: "Discussion on \"Calculating EFLAGS for various x86 opcodes\" | Hashnode"
description: "Discussion on \"Calculating EFLAGS for various x86 opcodes\". x86 assembly commands like TEST, CMP, and ADD set various flags, here are some examples of how these are set and explanations behind them"
url: "https://hashnode.com/posts/calculating-eflags-for-various-x86-opcodes/612f7cbec21ac123ca3775c1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Calculating EFLAGS for various x86 opcodes](https://www.lodsb.com/calculating-eflags-for-various-x86-opcodes?utm_source=hashnode&utm_medium=feed)

x86 assembly commands like TEST, CMP, and ADD set various flags, here are some examples of how these are set and explanations behind them

Sep 1, 2021 · 4 min read · lodsb.com  
Read the article

## Written by

[Sam Russell](https://hashnode.com/@samrussell)

@samrussell

  
[View profile](https://hashnode.com/@samrussell)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
