/*
IgnoreDirective.java
(c) 2013 Ed Swartz
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
*/
package v9t9.tools.asm.directive;
import java.util.List;
import v9t9.common.asm.IInstruction;
import v9t9.common.asm.ResolveException;
import v9t9.tools.asm.IAsmInstructionFactory;
import v9t9.tools.asm.IAssembler;
import v9t9.tools.asm.operand.hl.AssemblerOperand;
/**
* @author Ed
*
*/
public class IgnoreDirective extends Directive {
public IgnoreDirective(List<AssemblerOperand> ops) {
}
@Override
public String toString() {
return "";
}
public IInstruction[] resolve(IAssembler assembler, IInstruction previous, boolean finalPass) throws ResolveException {
return new IInstruction[] { this };
}
public byte[] getBytes(IAsmInstructionFactory factory) throws ResolveException {
return new byte[0];
}
}