Skip to content
A lower way of writing assembly code -- just write machine code.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.html
s-.rb

README.md

A--: ASM dec dec

A lower way of writing assembly code -- just write machine code.

Privous Works : s-.rb

FAQ

How to view my C code's assembly/machine code?

Compiler Explorer, or

gcc -g -c a.c -o a.o
objdump -Ss [-M intel] a.o

Can you provide a cheatsheet? How to spell such terrible numbers?

There are many cheatsheets online, please google it.

I will recommend you to have a look at (9.45M) 325383.pdf's Appendix-B first.

Ref.

Table B-4 regs : ACDBSBSD

0 1 2 3 4 5 6 7
A C D B S B S D

Table B-10 tttn : OBEBESPLLE

0 | 2 | 4 |  6 | 8 | A | C |  E
O | B | E | BE | S | P | L | LE
X | < | = | <= | + | 2 | < | <=

O: Overflow
B: Below (unsigned)
E: Equal
S: Signed
P: Even
L: Less (signed)

Cheatsheet

You can’t perform that action at this time.