aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidIntGreaterThanOrEqual.java
blob: d2e9cf9c9091bf731668c7ac9aef140dedfebdff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.shedlang.compiler.shid.instructions;

import org.shedlang.compiler.sources.Source;

/// 1. Pop the right operand from the temporary value stack.
/// 2. Pop the left operand from the temporary value stack.
/// 3. Calculate whether the left operand is greater than or equal to the right
///    operand.
/// 4. Push the result onto the temporary value stack.
public record ShidIntGreaterThanOrEqual(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}