.define .and
! #bytes in cx
! save di; it might be a register variable
.text
.and:
pop bx ! return address
mov dx,di
mov di,sp
add di,cx
sar cx,#1
1:
pop ax
and ax,(di)
st
package com.javapatterns.interpreter;
public class And extends Expression
{
private Expression left, right;
public And(Expression left, Expression right)
{
this.left = le
package inter;
import lexer.*;
import symbols.*;
public class And extends Logical {
public And(Token tok, Expr x1, Expr x2) {
super(tok, x1, x2);
}
public void jumping(int t, int f) {
int label