diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-23 23:53:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-23 23:53:27 -0700 |
commit | 6a2ec6bfab3215274222d6b32a096b3d2ef506a8 (patch) | |
tree | 060869c10cb384d76d7725b98b4ace0be31132d4 | |
parent | c6f32bc2b42f925811328eaa37d65923a1ff7ce0 (diff) | |
download | mu-6a2ec6bfab3215274222d6b32a096b3d2ef506a8.tar.gz |
.
-rw-r--r-- | mu.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mu.md b/mu.md index 4abb7610..050705d5 100644 --- a/mu.md +++ b/mu.md @@ -164,16 +164,20 @@ Correspondingly, there are ways to convert floats into integers. Work with variables of any 32-bit type. `addr` variables can only be compared to 0. +``` compare var1, var2/reg compare var1/reg, var2 compare var/eax, n compare var, n +``` Floating-point numbers cannot be compared to literals, and the register must come first. +``` compare var1/xreg1, var2/xreg2 compare var1/xreg1, var2 +``` ### Branches |