This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Suppose you are writing a simple one-pass compiler in the Wirth style, and you want to | |
target non-RISC architectures like the x86 where conditional operations use shared condition state. | |
Case 1: | |
if (x <= y) z = w | |
CMP x, y | |
JGT skip | |
MOV z, w | |
skip: |