public static int alignUp (int address, int alignment) throws InlinePragma { return ((address + alignment - 1) & ~(alignment - 1));
public static Address alignUp (Address address, int alignment) throws InlinePragma { return address.add(alignment-1).toWord().and(Word.fromIntSignExtend(~(alignment - 1))).toAddress();
  public static int alignUp (int address, int alignment) throws InlinePragma {    return ((address + alignment - 1) & ~(alignment - 1));  }