// test_call1_64.c   test  call1_64.asm 
// nasm -f elf64 -l call1_64.lst call1_64.asm
// gcc -m64 -o test_call1_64 test_call1_64.c call1_64.o
// ./test_call1_64 > test_call1_64.out
#include "call1_64.h"
#include <stdio.h>
int main()
{
  long int L[2];
  printf("test_call1_64.c using call1_64.asm\n");
  L[0]=1;
  L[1]=2;
  printf("address of L=L[0]=%ld, L[1]=%ld \n", &L, &L[1]);
  call1_64(L); // add 3 to L[0], add 4 to L[1]
  printf("L[0]=%ld, L[1]=%ld \n", L[0], L[1]);
  return 0;
}