/* test1 */ test1() { #asm ; BP is used for stack frame. ; ; arguments are on the stack, the last argument is top of the stack. ; CL: the number of arguments. ; ; top of stack ; (saved BP in called function) ; (saved PC) ; 5th argument ; 4th argument ; 3th argument ; 2th argument ; 1th argument ; bottom of stack ; ; function name is max 8 characters. #endasm func0000(1, 2, 3, 4, 5); #asm ; AX is return value. #endasm return 12345; }