代码搜索:TAS
找到约 913 项符合「TAS」的源代码
代码结果 913
www.eeworm.com/read/494528/6377256
doc tas.doc
www.eeworm.com/read/116214/14982596
tas wrong.tas
(* This is an incorrect version of the test program for the
Taste-compiler. It asks for a number and computes the sum of all
integers up to this number.*)
PROGRAM Test;
VAR
i: IN
www.eeworm.com/read/116214/14982608
tas test.tas
(* This is a test program which can be compiled by the Taste-compiler.
It asks for a number and computes the sum of all integers up to this number.*)
PROGRAM Test;
VAR
i: INTEGER;
www.eeworm.com/read/116214/14982710
tas wrong.tas
(* This is an incorrect version of the test program for the
Taste-compiler. It asks for a number and computes the sum of all
integers up to this number.*)
PROGRAM Test;
VAR
i: IN
www.eeworm.com/read/116214/14982716
tas test.tas
(* This is a test program which can be compiled by the Taste-compiler.
It asks for a number and computes the sum of all integers up to this number.*)
PROGRAM Test;
VAR
i: INTEGER;
www.eeworm.com/read/479931/1326940
s tas.s
# Hitachi H8 testcase 'tas'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h):
www.eeworm.com/read/209211/4982649
c tas.c
#include "u.h"
#include "libc.h"
/*
* first argument (l) is in r3 at entry.
* r3 contains return value upon return.
*/
int
tas(long *x)
{
int v;
/*
* this __asm__ works with gcc 2.95.2 (ma
www.eeworm.com/read/209211/4982767
c tas.c
#include "u.h"
#include "libc.h"
int
tas(long *x)
{
int v;
__asm__( "movl $1, %%eax\n\t"
"xchgl %%eax,(%%ecx)"
: "=a" (v)
: "c" (x)
);
switch(v) {
case 0:
case 1:
return v;
www.eeworm.com/read/209211/4982857
s tas.s
#include
#include
.globl tas
.ent tas 2
tas:
.set noreorder
1:
ori t1, zero, 12345 /* t1 = 12345 */
ll t0, (a0) /* t0 = *a0 */
sc t1, (a0) /* *a0 = t1 if *a0 hasn't c