file
stringlengths
18
26
data
stringlengths
3
1.04M
the_stack_data/7270.c
static inline void *ERR_PTR(long error) { return (void *) error; } int main() { int *v = ERR_PTR(-5); int x = *v; // potential segfault *v = 0; // no longer reported return 0; }
the_stack_data/3263760.c
#include <stdio.h> /* * 统计输入的字符数,v2 */ int main(int argc, const char *argv[]) { double nc; for (nc = 0; getchar() != '\n'; ++nc) { ; } printf("%.0f\n", nc); return 0; }
the_stack_data/78431.c
/* Z-HUNT-2 computer program, Sept.19, 1990 */ /* serialized i/o to allow to run against large datasets Updated i/o permissions to match posix. campt 1/10/2000 */ /* Turbo C compiler Ver. 1.5 Compact model, 8086/80286 instruction set, math emulator/8087/80287 Speed option, unsigned char Run on IBM PC XT/AT or compatibles */ /* Written by Ping-jung Chou, under the instruction of Pui S. Ho, according to the paper "A computer aided thermodynamic approach for predicting the formation of Z-DNA in naturally occurring sequences", The EMBO Journal, Vol.5, No.10, pp2737-2744, 1986 With 0.22 kcal/mol/dinuc for mCG (Zacharias et al, Biochemistry, 1988, 2970) */ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <time.h> /* creates a temporary file and mmaps the sequence into it */ #ifdef USE_MMAP #include <sys/types.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #endif double linear_search( double x1, double x2, double tole, double (*func)() ); double delta_linking( double dl ); double delta_linking_slope( double dl ); void show_probability( unsigned seqlength, float *dl, float *slope, float *probability, char *sequence, char **antisyn, char *filename ); void analyze_zscore( char *filename ); double linear_search( double x1, double x2, double tole, double (*func)() ) { double f, fmid, dx, xmid, x; f = func( x1 ); fmid = func( x2 ); if( f * fmid >= 0.0 ) return x2; x = (f < 0.0) ? (dx = x2 - x1, x1) : (dx = x1 - x2, x2); do { dx *= 0.5; xmid = x + dx; fmid = func( xmid ); if( fmid <= 0.0 ) x = xmid; } while( fabs( dx ) > tole ); return x; } int terms; double *bztwist, *logcoef, *exponent; double _k_rt = -0.2521201; /* -1100/4363 */ double sigma = 16.94800353; /* 10/RT */ double deltatwist; double explimit = -600.0; double delta_linking( double dl ) { double sump, sumq, z, expmini; int i; expmini = 0.0; for( i=0; i<terms; i++ ) { z = dl - bztwist[i]; exponent[i] = z = logcoef[i] + _k_rt * z * z; if( z < expmini ) expmini = z; } expmini = (expmini < explimit) ? explimit - expmini : 0.0; sump = sumq = 0.0; for( i=0; i<terms; i++ ) { z = exp( exponent[i] + expmini ); sumq += z; sump += bztwist[i] * z; } sumq += exp( _k_rt * dl * dl + sigma + expmini ); return deltatwist - sump / sumq; } double delta_linking_slope( double dl ) { double sump, sump1, sumq, sumq1, x, y, z, expmini; int i; expmini = 0.0; for( i=0; i<terms; i++ ) { z = dl - bztwist[i]; exponent[i] = z = logcoef[i] + _k_rt * z * z; if( z < expmini ) expmini = z; } expmini = (expmini < explimit) ? explimit - expmini : 0.0; sump = sump1 = sumq = sumq1 = 0.0; x = 2.0 * _k_rt; for( i=0; i<terms; i++ ) { z = dl - bztwist[i]; y = exp( exponent[i] + expmini ); sumq += y; sump += bztwist[i] * y; y *= z * x; sumq1 += y; sump1 += bztwist[i] * y; } y = exp( _k_rt * dl * dl + sigma + expmini ); sumq += y; sumq1 += x * dl * y; return (sump1 - sump * sumq1 / sumq) / sumq; } /* slope at delta linking = dl */ /* Delta BZ Energy of Dinucleotide */ double dbzed[4][16] = { /* AS-AS */ { 4.40, 6.20, 3.40, 5.20, 2.50, 4.40, 1.40, 3.30, 3.30, 5.20, 2.40, 4.20, 1.40, 3.40, 0.66, 2.40 }, /* SA-SA */ { 4.40, 2.50, 3.30, 1.40, 6.20, 4.40, 5.20, 3.40, 3.40, 1.40, 2.40, 0.66, 5.20, 3.30, 4.20, 2.40 }, /* AS-SA */ { 6.20, 6.20, 5.20, 5.20, 6.20, 6.20, 5.20, 5.20, 5.20, 5.20, 4.00, 4.00, 5.20, 5.20, 4.00, 4.00 }, /* SA-AS */ { 6.20, 6.20, 5.20, 5.20, 6.20, 6.20, 5.20, 5.20, 5.20, 5.20, 4.00, 4.00, 5.20, 5.20, 4.00, 4.00 } }; double expdbzed[4][16]; /* exp(-dbzed/rt) */ int *bzindex; /* dinucleotides */ int user_regret( void ); FILE *open_file( int mode, char *filename, char *typestr ); void assign_bzenergy_index( int nucleotides, char seq[] ); void best_anti_syn( int dinucleotides, float esum ); void anti_syn_energy( int din, int dinucleotides, float esum ); unsigned input_sequence( FILE *file, int nucleotides, int showfile ); double assign_probability( double dl ); void assign_bzenergy_index( int nucleotides, char seq[] ) { int i, j, idx; char c1, c2; i = j = 0; do { c1 = seq[i++]; c2 = seq[i++]; switch( c1 ) { case 'a' : switch( c2 ) { case 'a' : idx = 0; break; case 't' : idx = 1; break; case 'g' : idx = 2; break; case 'c' : idx = 3; } break; case 't' : switch( c2 ) { case 'a' : idx = 4; break; case 't' : idx = 5; break; case 'g' : idx = 6; break; case 'c' : idx = 7; } break; case 'g' : switch( c2 ) { case 'a' : idx = 8; break; case 't' : idx = 9; break; case 'g' : idx = 10; break; case 'c' : idx = 11; } break; case 'c' : switch( c2 ) { case 'a' : idx = 12; break; case 't' : idx = 13; break; case 'g' : idx = 14; break; case 'c' : idx = 15; } } bzindex[j++] = idx; } while( i < nucleotides ); } double *bzenergy, *best_bzenergy; /* dinucleotides */ float best_esum; /* assigned before call to anti_syn_energy() */ char *best_antisyn, *antisyn; /* nucleotides */ void best_anti_syn( int dinucleotides, float esum ) { int i; double dl, slope; if( esum < best_esum ) { best_esum = esum; for( i=0; i<dinucleotides; i++ ) best_bzenergy[i] = bzenergy[i]; strcpy( best_antisyn, antisyn ); } } void anti_syn_energy( int din, int dinucleotides, float esum ) { int i, nucleotides; float e; nucleotides = 2 * din; antisyn[nucleotides] = 'A'; antisyn[nucleotides+1] = 'S'; i = (din == 0) ? 0 : ((antisyn[nucleotides-1] == 'S') ? 0 : 3); e = dbzed[i][bzindex[din]]; esum += e; bzenergy[din] = expdbzed[i][bzindex[din]]; if( ++din == dinucleotides ) best_anti_syn( dinucleotides, esum ); else anti_syn_energy( din, dinucleotides, esum ); esum -= e; din --; antisyn[nucleotides] = 'S'; antisyn[nucleotides+1] = 'A'; i = (din == 0) ? 1 : ((antisyn[nucleotides-1] == 'A') ? 1 : 2); esum += dbzed[i][bzindex[din]]; bzenergy[din] = expdbzed[i][bzindex[din]]; if( ++din == dinucleotides ) best_anti_syn( dinucleotides, esum ); else anti_syn_energy( din, dinucleotides, esum ); } char *tempstr, *sequence; #ifdef USE_MMAP int sequencefile; #endif int user_regret( void ) { char c; do { gets( tempstr ); c = tempstr[0]; } while( c == 0 ); return (c == '@') ? 1 : 0; } FILE *open_file( int mode, char *filename, char *typestr ) { static char *iostr[] = { "output", "input" }; static char *rwstr[] = { "w", "r" }; char *fullfile; FILE *file; file = NULL; fullfile = (char *) malloc(sizeof(char) * ( strlen(filename) + strlen(typestr) + 1) ); strcpy(fullfile, filename); if(strlen(typestr) != 0) { strcat(fullfile, "."); strcat(fullfile, typestr); } printf("opening %s\n", fullfile); file = fopen( fullfile, rwstr[mode] ); free(fullfile); return file; } unsigned input_sequence( FILE *file, int nucleotides, int showfile ) { unsigned length, i, j; char c; #ifdef USE_MMAP FILE *OUTPUT; #endif printf("inputting sequence\n"); length = 0; /* count how many bases */ while( j=0, fgets( tempstr, 128, file ) != NULL ) { while( (c=tempstr[j++]) != 0 ) { if( c == 'a' || c == 't' || c == 'g' || c == 'c' || c == 'A' || c == 'T' || c == 'G' || c == 'C' ) { length ++; } } } #ifndef USE_MMAP sequence = (char *) malloc( length+nucleotides ); #else sequence = (char *) malloc( nucleotides ); OUTPUT = (FILE *) fopen ("/Users/Team_HoLab/Desktop/RSC/Documents/Coding/Zhunt", "w"); #endif rewind( file ); if( showfile ) { printf( "\n" ); } i = 0; while( j=0, fgets( tempstr, 128, file ) != NULL ) { while( (c=tempstr[j++]) != 0 ) { if( c == 'a' || c == 't' || c == 'g' || c == 'c' || c == 'A' || c == 'T' || c == 'G' || c == 'C' ) { if( c == 'A') { c = 'a'; } if( c == 'T') { c = 't'; } if( c == 'G') { c = 'g'; }; if( c == 'C') { c = 'c'; } #ifndef USE_MMAP sequence[i++] = c; #else fprintf(OUTPUT,"%c",c); if(i < nucleotides) { sequence[i++] = c; } #endif } } } for( j=0; j<nucleotides; j++ ) /* assume circular nucleotides */ { #ifndef USE_MMAP sequence[i++] = sequence[j]; #else fprintf(OUTPUT,"%c",sequence[j]); #endif } #ifdef USE_MMAP close(OUTPUT); sequencefile = open ("/usr/local/apache/htdocs/zhunt/temp", O_RDWR, NULL); free(sequence); sequence = (char *) mmap(0,length, PROT_READ | PROT_WRITE,MAP_SHARED,sequencefile,0); #endif return length; } /* calculate the probability of the value 'dl' in a Gaussian distribution */ /* from "Data Reduction and Error Analysis for the Physical Science" */ /* Philip R. Bevington, 1969, McGraw-Hill, Inc */ double assign_probability( double dl ) { static double average = 29.6537135; static double stdv = 2.71997; static double _sqrt2 = 0.70710678118654752440; /* 1/sqrt(2) */ static double _sqrtpi = 0.564189583546; /* 1/sqrt(pi) */ double x, y, z, k, sum; z = fabs( dl - average ) / stdv; x = z * _sqrt2; y = _sqrtpi * exp( -x * x ); z *= z; k = 1.0; sum = 0.0; do { sum += x; k += 2.0; x *= z / k; } while( sum + x > sum ); z = 0.5 - y * sum; /* probability of each tail */ return (dl > average) ? z : 1.0/z; } double find_delta_linking( int dinucleotides ); void calculate_zscore( double a, int maxdinucleotides, int min, int max, char *filename ); void print_array( int points[], unsigned from, unsigned to, int printwidth ); void soft_copy( int width, int widthbyte, char **screen ); void analyze_zscore( char *filename ); void generate_random_sequence( int dinucleotides, char seq[] ); void initiate_random( long seed ); double uniform_random( void ); void random_distribution( double a, int maxdinucleotides, char *filename ); void run_distribution( double a, int maxdinucleotides, FILE *disfile ); void print_distribution( char *disname, FILE *disfile ); int main( int argc, char *argv[]) { static double rt=0.59004; /* 0.00198*298 */ static double a=0.357, b=0.4; /* a = 2 * (1/10.5 + 1/12) */ double ab; int i, j, nucleotides, dinucleotides, select; int min, max; if(argc < 5) { printf("usage: zhunt windowsize minsize maxsize datafile\n"); exit(1); } tempstr = (char *) malloc( 128 ); dinucleotides = atoi((char *)argv[1]); min = atoi((char *)argv[2]); max = atoi((char *)argv[3]); printf("dinucleotides %d\n", dinucleotides); printf("min/max %d %d\n", min, max); printf("operating on %s\n", (char *)argv[4]); nucleotides = 2 * dinucleotides; antisyn = (char *) malloc( nucleotides+1 ); best_antisyn = (char *) malloc( nucleotides+1 ); bzindex = (int *) calloc( dinucleotides, sizeof(int) ); bzenergy = (double *) calloc( dinucleotides, sizeof(double) ); best_bzenergy = (double *) calloc( dinucleotides, sizeof(double) ); bztwist = (double *) calloc( dinucleotides, sizeof(double) ); ab = b + b; for( i=0; i<dinucleotides; i++ ) { ab += a; bztwist[i] = ab; } for( i=0; i<4; i++ ) for( j=0; j<16; j++ ) expdbzed[i][j] = exp( -dbzed[i][j] / rt ); logcoef = (double *) calloc( dinucleotides, sizeof(double) ); exponent = (double *) calloc( dinucleotides, sizeof(double) ); calculate_zscore( a, dinucleotides, min, max, (char *)argv[4] ); #ifndef PROB_ONLY analyze_zscore((char *)argv[4]); #endif free( exponent ); free( logcoef ); free( bztwist ); free( best_bzenergy ); free( bzenergy ); free( bzindex ); free( best_antisyn ); free( antisyn ); free( tempstr ); return 0; } double find_delta_linking( int dinucleotides ) { double sum; int i, j; for( i=0; i<dinucleotides; i++ ) bzenergy[i] = 1.0; for( i=0; i<dinucleotides; i++ ) { sum = 0.0; for( j=0; j<dinucleotides-i; j++ ) { bzenergy[j] *= best_bzenergy[i+j]; sum += bzenergy[j]; } logcoef[i] = log( sum ); } terms = dinucleotides; return linear_search( 10.0, 50.0, 0.001, delta_linking ); } void calculate_zscore( double a, int maxdinucleotides, int min, int max, char *filename ) { static double pideg=57.29577951; /* 180/pi */ char *bestantisyn; FILE *file; unsigned seqlength, i, j; int fromdin, todin, din, nucleotides; long begintime, endtime; double dl, slope, probability, bestdl; float initesum; fromdin = min; todin = max; printf("calculating zscore\n"); file = open_file( 1, filename, "" ); if( file == NULL ) { printf("couldn't open %s!\n", filename); return; } seqlength = input_sequence( file, 2*maxdinucleotides, 0 ); fclose( file ); file = open_file( 0, filename, "Z-SCORE" ); if( file == NULL ) { #ifndef USE_MMAP free( sequence ); #else munmap(sequence, seqlength); close(sequencefile); #endif return; } if( todin > maxdinucleotides ) { todin = maxdinucleotides; } if( fromdin > todin ) { fromdin = todin; } nucleotides = 2 * todin; #ifndef PROB_ONLY fprintf( file, "%s %u %d %d\n", filename, seqlength, fromdin, todin ); #endif a /= 2.0; initesum = 10.0 * todin; bestantisyn = (char *) malloc( nucleotides+1 ); time( &begintime ); for( i=0; i<seqlength; i++ ) { assign_bzenergy_index( nucleotides, sequence+i ); bestdl = 50.0; for( din=fromdin; din<=todin; din++ ) { best_esum = initesum; deltatwist = a * (double)din; antisyn[2*din] = 0; anti_syn_energy( 0, din, 0.0 ); /* esum = 0.0 */ dl = find_delta_linking( din ); if( dl < bestdl ) { bestdl = dl; strcpy( bestantisyn, best_antisyn ); } } #ifndef PROB_ONLY slope = atan( delta_linking_slope( bestdl ) ) * pideg; #endif probability = assign_probability( bestdl ); #ifndef PROB_ONLY fprintf( file, " %7.3lf %7.3lf %le %s\n", bestdl, slope, probability, bestantisyn ); #else fprintf( file, " %7.3lf %le\n", bestdl, probability ); #endif } time( &endtime ); free( bestantisyn ); fclose( file ); printf( "\n run time=%ld sec\n", endtime-begintime ); #ifndef USE_MMAP free( sequence ); #else munmap(sequence,seqlength); close(sequencefile); #endif } void analyze_zscore( char *filename ) { float *dl, *slope, *probability; unsigned seqlength, i, select; char **antisyn; FILE *file; int fromdin, todin, nucleotides; printf("analyzing_zscore\n"); file = open_file( 1, filename, "Z-SCORE" ); if( file == NULL ) { printf("couldn't open %s.Z-SCORE!\n",filename); return; } fscanf( file, "%s %u %d %d", tempstr, &seqlength, &fromdin, &todin ); nucleotides = 2 * todin; dl = (float *) calloc( seqlength, sizeof(float) ); slope = (float *) calloc( seqlength, sizeof(float) ); probability = (float *) calloc( seqlength, sizeof(float) ); antisyn = (char **) calloc( seqlength, sizeof(char *) ); for( i=0; i<seqlength; i++ ) { fscanf( file, "%f %f %f %s", dl+i, slope+i, probability+i, tempstr ); antisyn[i] = strdup( tempstr ); } fclose( file ); file = open_file(1, filename , ""); input_sequence( file, nucleotides, 0 ); fclose( file ); free( dl ); free( slope ); free( probability ); for( i=0; i<seqlength; i++ ) free( antisyn[i] ); free( antisyn ); #ifndef USE_MMAP free( sequence ); #else munmap(sequence,seqlength); close(sequencefile); #endif } long RAm=714025, RAa=1366, RAc=150889, RAseed=0, RAy, RAr[97]; void initiate_random( long seed ) { int i; seed = (RAc - seed) % RAm; if( seed < 0 ) seed = -seed; for( i=0; i<97; i++ ) RAr[i] = seed = (RAa * seed + RAc) % RAm; seed = (RAa * seed + RAc) % RAm; RAseed = RAy = seed; } double uniform_random( void ) { int i; i = (double)97.0 * RAy / (double)RAm; RAy = RAr[i]; RAr[i] = RAseed = (RAa * RAseed + RAc) % RAm; return (double)RAy / RAm; } void generate_random_sequence( int dinucleotides, char seq[] ) { static char rs1[] = "aaaattttggggcccc"; static char rs2[] = "atgcatgcatgcatgc"; int i, j, r; for( i=j=0; i<dinucleotides; i++ ) { r = uniform_random() * 16.0; seq[j++] = rs1[r]; seq[j++] = rs2[r]; } } void random_distribution( double a, int maxdinucleotides, char *filename ) { int select; FILE *file; do { printf( "\n 0. Stop" ); printf( "\n 1. Run distribution" ); printf( "\n\n Select: " ); scanf( "%d", &select ); if( select > 0 ) { file = open_file( select-1, filename, "DISTRIBUTION" ); if( file == NULL ) continue; if( select == 1 ) run_distribution( a, maxdinucleotides, file ); fclose( file ); } } while( select != 0 ); } void run_distribution( double a, int maxdinucleotides, FILE *disfile ) { int i, nucleotides, dinucleotides, levels; long begintime, endtime, repeat, k, *distribution; float initesum; double dl, sumdl, sumdldl, dlaverage, dlstdv, dlfrom, dlto, dlstep; printf( "\n Window size (dinucleotides) and sample size: " ); if( user_regret() ) return; sscanf( tempstr, "%d %ld", &dinucleotides, &repeat ); if( dinucleotides > maxdinucleotides ) dinucleotides = maxdinucleotides; nucleotides = 2 * dinucleotides; printf( "\n FROM, TO & STEP linking differences for distribution: " ); if( user_regret() ) return; sscanf( tempstr, "%lf %lf %lf", &dlfrom, &dlto, &dlstep ); sequence = (char *) malloc( nucleotides ); /* half of the window convert from B to Z */ deltatwist = a * (double)dinucleotides / 2.0; initesum = 10.0 * dinucleotides; /* for best_anti_syn() use */ levels = (dlto - dlfrom) / dlstep + 1; distribution = (long *) calloc( levels, sizeof(long) ); for( i=0; i<levels; i++ ) distribution[i] = 0; sumdl = sumdldl = 0.0; time( &begintime ); initiate_random( begintime ); for( k=0; k<repeat; k++ ) { generate_random_sequence( dinucleotides, sequence ); assign_bzenergy_index( nucleotides, sequence ); best_esum = initesum; anti_syn_energy( 0, dinucleotides, 0.0 ); dl = find_delta_linking( dinucleotides ); sumdl += dl; sumdldl += dl * dl; i = (dl - dlfrom) / dlstep; if( i < 0 ) i = 0; if( i > levels - 1 ) i = levels - 1; distribution[i] ++; } time( &endtime ); dlaverage = sumdl / repeat; dlstdv = sqrt( (sumdldl - sumdl * dlaverage) / repeat ); fprintf( disfile, " %d %d %ld %lf %lf %lg %lg %lg\n", dinucleotides, levels, repeat, dlaverage, dlstdv, dlfrom, dlto, dlstep ); for( i=0; i<levels; i++ ) fprintf( disfile, "%ld\n", distribution[i] ); printf( "\n run time: %ld sec\n", endtime-begintime ); free( distribution ); free( sequence ); } void show_probability( unsigned seqlength, float *dl, float *slope, float *probability, char *sequence, char **antisyn, char *filename ) { unsigned i, j, k; FILE *file; printf("show_probability\n"); file = open_file( 0, filename, "probability" ); if( file == NULL ) { printf("couldn't open %s.probability!\n",filename); return; } for( i=0; i < seqlength; i++ ) { fprintf( file, " %5u %7.3f %7.3f %10.3e ", i+1, dl[i], slope[i], probability[i] ); j = strlen( antisyn[i] ); for( k=0; k<j; k++ ) fprintf( file, "%c", sequence[i+k] ); fprintf( file, "\n %s\n", antisyn[i] ); } fclose( file ); }
the_stack_data/358990.c
/** File: RAL/S Interpreter Source Code Author: Theodore Baker-Jones Description: Source code for the RAL/S interpreter. License: MIT License **/ #include <stdio.h> #include <stdlib.h> #include <math.h> int add(int first_val, int second_val); int subtract(int first_val, int second_val); int multiply(int first_val, int second_val); int divide(int first_val, int second_val); int modulo(int first_val, int second_val); int square_root(int val); int set(int val); int move(int src_var); int print(int val); int read(); int jump(int cond_var, int jmp_dest, int program_counter); int main(int argc, char *argv[]) { if (argc == 1) { printf("Argument expected"); } else if (argc > 2) { printf("Too many arguments"); } else { char character_output_tmp_var; int file_length_test = 0; //char fname[128]; //fname = argv[1]; FILE *programf; programf = fopen(argv[1], "r"); if (!programf) { //if the file doesn't exist tell the user printf("Error: File does not exist"); return 0; }; int program_length = 0; while (!feof(programf)) { fscanf(programf, "%d", &file_length_test); program_length++; }; int data_length; int program[program_length]; int program_counter = 0; fclose(programf); programf = fopen(argv[1], "r"); while (program_counter <= program_length) { //read into the program array fscanf(programf, "%d", &program[program_counter]); program_counter++; }; program_counter = 0; data_length = program[program_counter]; program_counter++; int data[data_length]; while (program_counter < program_length) { switch (program[program_counter]) { case 1 :// addition if ((program[program_counter + 1] >= data_length) || (program[program_counter + 2] >= data_length) || (program[program_counter + 1] <= 0) || (program[program_counter + 2] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = add(data[program[program_counter + 1]], data[program[program_counter + 2]]); }; break; case 2 : // subtraction if ((program[program_counter + 1] >= data_length) || (program[program_counter + 2] >= data_length) || (program[program_counter + 1] <= 0) || (program[program_counter + 2] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = subtract(data[program[program_counter + 1]], data[program[program_counter + 2]]); }; break; case 3 : // multiplication if ((program[program_counter + 1] >= data_length) || (program[program_counter + 2] >= data_length) || (program[program_counter + 1] <= 0) || (program[program_counter + 2] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = multiply(data[program[program_counter + 1]], data[program[program_counter + 2]]); }; break; case 4 : // division if (program[program_counter + 2] == 0) { printf("Error: %d - Attempted divide by 0 \n", program_counter); program_counter = program_length; } else if ((program[program_counter + 1] >= data_length) || (program[program_counter + 2] >= data_length) || (program[program_counter + 1] <= 0) || (program[program_counter + 2] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = divide(data[program[program_counter + 1]], data[program[program_counter + 2]]); }; break; case 5 : // modulus if (program[program_counter + 2] == 0) { printf("Error: %d - Attempted divide by 0 \n", program_counter); program_counter = program_length; } else if ((program[program_counter + 1] >= data_length) || (program[program_counter + 2] >= data_length) || (program[program_counter + 1] <= 0) || (program[program_counter + 2] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { }; break; case 6 : // square root if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = square_root(data[program[program_counter + 1]]); }; break; case 7 : // set variable if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = program[program_counter + 2]; }; break; case 8 : // move variable if ((data[program[program_counter + 1]] >= data_length) || (data[program[program_counter + 2]] >= data_length) || (data[program[program_counter + 1]] <= 0) || (data[program[program_counter + 2]] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[data[program[program_counter + 1]]] = move(data[data[program[program_counter + 2]]]); }; break; case 9 : // print if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { printf("%d ", data[program[program_counter + 1]]); }; break; case 10 : // read if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else { data[program[program_counter + 1]] = read(); }; break; case 11 : // jump if variable is negative if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); program_counter = program_length; } else if ((program[program_counter + 2] >= data_length) || (program[program_counter + 2] < 0)) { printf("Error: %d - Invalid jump destination", program_counter); program_counter = program_length; } else { program_counter = jump(data[program[program_counter + 1]], data[program[program_counter + 2]], program_counter); }; break; case 12 : // end program program_counter = program_length; break; case 13: // prints a character if ((program[program_counter + 1] >= data_length) || (program[program_counter + 1] <= 0)) { printf("Error: %d - Variable does not exist", program_counter); } else { character_output_tmp_var = (char)data[program[program_counter + 1]]; printf("%c", character_output_tmp_var); }; break; default : // no valid command entered printf("Error: %d - Command %d is invalid\n", program_counter, program[program_counter]); program_counter = program_length; }; program_counter += 3; }; }; return 0; }; int add(int first_val, int second_val) { int result; result = first_val + second_val; return result; }; int subtract(int first_val, int second_val) { int result; result = first_val - second_val; return result; }; int multiply(int first_val, int second_val) { int result; result = first_val * second_val; return result; }; int divide(int first_val, int second_val) { int result; result = (int) (first_val / second_val); return result; }; int modulo(int first_val, int second_val) { int result; result = first_val % second_val; return result; }; int square_root(int val) { int dbl_val = (double) val; int result; result = (int) sqrt(dbl_val); return result; }; int set(int val) { int result; result = val; return result; }; int move(int src_var) { int result; result = src_var; return result; }; int print(int val) { printf("%d \n", val); return 0; }; int read() { int result; scanf("%d", &result); return result; }; int jump(int cond_var, int jmp_dest, int program_counter) { int jmp_result_counter; jmp_result_counter = program_counter; if (cond_var < 0) { jmp_result_counter += (3 * jmp_dest); if (jmp_dest < 0) { jmp_result_counter -= 3; }; }; return jmp_result_counter; };
the_stack_data/37935.c
/* This testcase is part of GDB, the GNU debugger. Copyright 1997-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> int main (void) { printf("Hello from vforked-prog...\n"); return 0; }
the_stack_data/98177.c
/* SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2018-2019 Dimitar Dimitrov <[email protected]> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <math.h> /* GCC will not generate code calling this function, since the corresponding builtin will produce code that uses simple ops only. In order to support linking against TI CLPRU objects, though, provide the function mandated by TI ABI. */ int __pruabi_isnormalf(float a) { return isnormal(a); }
the_stack_data/165765450.c
/* parrot.c -- using fgets() and fputs() */ #include <stdio.h> #define MAXLINE 20 int main(void) { char line[MAXLINE]; while (fgets(line, MAXLINE, stdin) != NULL && line[0] != '\n') fputs(line, stdout); return 0; }
the_stack_data/106906.c
/* ** 2017-01-27 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ****************************************************************************** ** ** This SQLite extension implements functions that compute SHA1 hashes. ** Two SQL functions are implemented: ** ** sha1(X) ** sha1_query(Y) ** ** The sha1(X) function computes the SHA1 hash of the input X, or NULL if ** X is NULL. ** ** The sha1_query(Y) function evalutes all queries in the SQL statements of Y ** and returns a hash of their results. */ #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 #include <assert.h> #include <string.h> #include <stdarg.h> /****************************************************************************** ** The Hash Engine */ /* Context for the SHA1 hash */ typedef struct SHA1Context SHA1Context; struct SHA1Context { unsigned int state[5]; unsigned int count[2]; unsigned char buffer[64]; }; #define SHA_ROT(x,l,r) ((x) << (l) | (x) >> (r)) #define rol(x,k) SHA_ROT(x,k,32-(k)) #define ror(x,k) SHA_ROT(x,32-(k),k) #define blk0le(i) (block[i] = (ror(block[i],8)&0xFF00FF00) \ |(rol(block[i],8)&0x00FF00FF)) #define blk0be(i) block[i] #define blk(i) (block[i&15] = rol(block[(i+13)&15]^block[(i+8)&15] \ ^block[(i+2)&15]^block[i&15],1)) /* * (R0+R1), R2, R3, R4 are the different operations (rounds) used in SHA1 * * Rl0() for little-endian and Rb0() for big-endian. Endianness is * determined at run-time. */ #define Rl0(v,w,x,y,z,i) \ z+=((w&(x^y))^y)+blk0le(i)+0x5A827999+rol(v,5);w=ror(w,2); #define Rb0(v,w,x,y,z,i) \ z+=((w&(x^y))^y)+blk0be(i)+0x5A827999+rol(v,5);w=ror(w,2); #define R1(v,w,x,y,z,i) \ z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=ror(w,2); #define R2(v,w,x,y,z,i) \ z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=ror(w,2); #define R3(v,w,x,y,z,i) \ z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=ror(w,2); #define R4(v,w,x,y,z,i) \ z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=ror(w,2); /* * Hash a single 512-bit block. This is the core of the algorithm. */ void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]){ unsigned int qq[5]; /* a, b, c, d, e; */ static int one = 1; unsigned int block[16]; memcpy(block, buffer, 64); memcpy(qq,state,5*sizeof(unsigned int)); #define a qq[0] #define b qq[1] #define c qq[2] #define d qq[3] #define e qq[4] /* Copy p->state[] to working vars */ /* a = state[0]; b = state[1]; c = state[2]; d = state[3]; e = state[4]; */ /* 4 rounds of 20 operations each. Loop unrolled. */ if( 1 == *(unsigned char*)&one ){ Rl0(a,b,c,d,e, 0); Rl0(e,a,b,c,d, 1); Rl0(d,e,a,b,c, 2); Rl0(c,d,e,a,b, 3); Rl0(b,c,d,e,a, 4); Rl0(a,b,c,d,e, 5); Rl0(e,a,b,c,d, 6); Rl0(d,e,a,b,c, 7); Rl0(c,d,e,a,b, 8); Rl0(b,c,d,e,a, 9); Rl0(a,b,c,d,e,10); Rl0(e,a,b,c,d,11); Rl0(d,e,a,b,c,12); Rl0(c,d,e,a,b,13); Rl0(b,c,d,e,a,14); Rl0(a,b,c,d,e,15); }else{ Rb0(a,b,c,d,e, 0); Rb0(e,a,b,c,d, 1); Rb0(d,e,a,b,c, 2); Rb0(c,d,e,a,b, 3); Rb0(b,c,d,e,a, 4); Rb0(a,b,c,d,e, 5); Rb0(e,a,b,c,d, 6); Rb0(d,e,a,b,c, 7); Rb0(c,d,e,a,b, 8); Rb0(b,c,d,e,a, 9); Rb0(a,b,c,d,e,10); Rb0(e,a,b,c,d,11); Rb0(d,e,a,b,c,12); Rb0(c,d,e,a,b,13); Rb0(b,c,d,e,a,14); Rb0(a,b,c,d,e,15); } R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43); R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47); R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51); R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55); R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59); R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63); R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67); R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); /* Add the working vars back into context.state[] */ state[0] += a; state[1] += b; state[2] += c; state[3] += d; state[4] += e; #undef a #undef b #undef c #undef d #undef e } /* Initialize a SHA1 context */ static void hash_init(SHA1Context *p){ /* SHA1 initialization constants */ p->state[0] = 0x67452301; p->state[1] = 0xEFCDAB89; p->state[2] = 0x98BADCFE; p->state[3] = 0x10325476; p->state[4] = 0xC3D2E1F0; p->count[0] = p->count[1] = 0; } /* Add new content to the SHA1 hash */ static void hash_step( SHA1Context *p, /* Add content to this context */ const unsigned char *data, /* Data to be added */ unsigned int len /* Number of bytes in data */ ){ unsigned int i, j; j = p->count[0]; if( (p->count[0] += len << 3) < j ){ p->count[1] += (len>>29)+1; } j = (j >> 3) & 63; if( (j + len) > 63 ){ (void)memcpy(&p->buffer[j], data, (i = 64-j)); SHA1Transform(p->state, p->buffer); for(; i + 63 < len; i += 64){ SHA1Transform(p->state, &data[i]); } j = 0; }else{ i = 0; } (void)memcpy(&p->buffer[j], &data[i], len - i); } /* Compute a string using sqlite3_vsnprintf() and hash it */ static void hash_step_vformat( SHA1Context *p, /* Add content to this context */ const char *zFormat, ... ){ va_list ap; int n; char zBuf[50]; va_start(ap, zFormat); sqlite3_vsnprintf(sizeof(zBuf),zBuf,zFormat,ap); va_end(ap); n = (int)strlen(zBuf); hash_step(p, (unsigned char*)zBuf, n); } /* Add padding and compute the message digest. Render the ** message digest as lower-case hexadecimal and put it into ** zOut[]. zOut[] must be at least 41 bytes long. */ static void hash_finish( SHA1Context *p, /* The SHA1 context to finish and render */ char *zOut /* Store hexadecimal hash here */ ){ unsigned int i; unsigned char finalcount[8]; unsigned char digest[20]; static const char zEncode[] = "0123456789abcdef"; for (i = 0; i < 8; i++){ finalcount[i] = (unsigned char)((p->count[(i >= 4 ? 0 : 1)] >> ((3-(i & 3)) * 8) ) & 255); /* Endian independent */ } hash_step(p, (const unsigned char *)"\200", 1); while ((p->count[0] & 504) != 448){ hash_step(p, (const unsigned char *)"\0", 1); } hash_step(p, finalcount, 8); /* Should cause a SHA1Transform() */ for (i = 0; i < 20; i++){ digest[i] = (unsigned char)((p->state[i>>2] >> ((3-(i & 3)) * 8) ) & 255); } for(i=0; i<20; i++){ zOut[i*2] = zEncode[(digest[i]>>4)&0xf]; zOut[i*2+1] = zEncode[digest[i] & 0xf]; } zOut[i*2]= 0; } /* End of the hashing logic *****************************************************************************/ /* ** Implementation of the sha1(X) function. ** ** Return a lower-case hexadecimal rendering of the SHA1 hash of the ** argument X. If X is a BLOB, it is hashed as is. For all other ** types of input, X is converted into a UTF-8 string and the string ** is hash without the trailing 0x00 terminator. The hash of a NULL ** value is NULL. */ static void sha1Func( sqlite3_context *context, int argc, sqlite3_value **argv ){ SHA1Context cx; int eType = sqlite3_value_type(argv[0]); int nByte = sqlite3_value_bytes(argv[0]); char zOut[44]; assert( argc==1 ); if( eType==SQLITE_NULL ) return; hash_init(&cx); if( eType==SQLITE_BLOB ){ hash_step(&cx, sqlite3_value_blob(argv[0]), nByte); }else{ hash_step(&cx, sqlite3_value_text(argv[0]), nByte); } hash_finish(&cx, zOut); sqlite3_result_text(context, zOut, 40, SQLITE_TRANSIENT); } /* ** Implementation of the sha1_query(SQL) function. ** ** This function compiles and runs the SQL statement(s) given in the ** argument. The results are hashed using SHA1 and that hash is returned. ** ** The original SQL text is included as part of the hash. ** ** The hash is not just a concatenation of the outputs. Each query ** is delimited and each row and value within the query is delimited, ** with all values being marked with their datatypes. */ static void sha1QueryFunc( sqlite3_context *context, int argc, sqlite3_value **argv ){ sqlite3 *db = sqlite3_context_db_handle(context); const char *zSql = (const char*)sqlite3_value_text(argv[0]); sqlite3_stmt *pStmt = 0; int nCol; /* Number of columns in the result set */ int i; /* Loop counter */ int rc; int n; const char *z; SHA1Context cx; char zOut[44]; assert( argc==1 ); if( zSql==0 ) return; hash_init(&cx); while( zSql[0] ){ rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, &zSql); if( rc ){ char *zMsg = sqlite3_mprintf("error SQL statement [%s]: %s", zSql, sqlite3_errmsg(db)); sqlite3_finalize(pStmt); sqlite3_result_error(context, zMsg, -1); sqlite3_free(zMsg); return; } if( !sqlite3_stmt_readonly(pStmt) ){ char *zMsg = sqlite3_mprintf("non-query: [%s]", sqlite3_sql(pStmt)); sqlite3_finalize(pStmt); sqlite3_result_error(context, zMsg, -1); sqlite3_free(zMsg); return; } nCol = sqlite3_column_count(pStmt); z = sqlite3_sql(pStmt); n = (int)strlen(z); hash_step_vformat(&cx,"S%d:",n); hash_step(&cx,(unsigned char*)z,n); /* Compute a hash over the result of the query */ while( SQLITE_ROW==sqlite3_step(pStmt) ){ hash_step(&cx,(const unsigned char*)"R",1); for(i=0; i<nCol; i++){ switch( sqlite3_column_type(pStmt,i) ){ case SQLITE_NULL: { hash_step(&cx, (const unsigned char*)"N",1); break; } case SQLITE_INTEGER: { sqlite3_uint64 u; int j; unsigned char x[9]; sqlite3_int64 v = sqlite3_column_int64(pStmt,i); memcpy(&u, &v, 8); for(j=8; j>=1; j--){ x[j] = u & 0xff; u >>= 8; } x[0] = 'I'; hash_step(&cx, x, 9); break; } case SQLITE_FLOAT: { sqlite3_uint64 u; int j; unsigned char x[9]; double r = sqlite3_column_double(pStmt,i); memcpy(&u, &r, 8); for(j=8; j>=1; j--){ x[j] = u & 0xff; u >>= 8; } x[0] = 'F'; hash_step(&cx,x,9); break; } case SQLITE_TEXT: { int n2 = sqlite3_column_bytes(pStmt, i); const unsigned char *z2 = sqlite3_column_text(pStmt, i); hash_step_vformat(&cx,"T%d:",n2); hash_step(&cx, z2, n2); break; } case SQLITE_BLOB: { int n2 = sqlite3_column_bytes(pStmt, i); const unsigned char *z2 = sqlite3_column_blob(pStmt, i); hash_step_vformat(&cx,"B%d:",n2); hash_step(&cx, z2, n2); break; } } } } sqlite3_finalize(pStmt); } hash_finish(&cx, zOut); sqlite3_result_text(context, zOut, 40, SQLITE_TRANSIENT); } #ifdef _WIN32 __declspec(dllexport) #endif int sqlite3_sha_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ){ int rc = SQLITE_OK; SQLITE_EXTENSION_INIT2(pApi); (void)pzErrMsg; /* Unused parameter */ rc = sqlite3_create_function(db, "sha1", 1, SQLITE_UTF8|SQLITE_INNOCUOUS, 0, sha1Func, 0, 0); if( rc==SQLITE_OK ){ rc = sqlite3_create_function(db, "sha1_query", 1, SQLITE_UTF8|SQLITE_DIRECTONLY, 0, sha1QueryFunc, 0, 0); } return rc; }
the_stack_data/420595.c
#include <stdio.h> int main() { int input = 0, i = 0, digit = 0, freq[10] = {0}; // intializes the array to zero printf("Please enter a number.\n"); scanf("%d", &input); while(input > 0) { digit = input % 10; // extracts the digits freq[digit]++; // increments the count for the extracted digit in the frequency array input = input / 10; } for(i = 0; i < 10; i++) { if(freq[i]!=0) // ignores empty indices printf("%d is present %d times.\n", i, freq[i]); } return 0; }
the_stack_data/14199876.c
/* * Copyright(c) 2016-2017 Guillaume Knispel <[email protected]> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #include "err.h" #include <stdlib.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <signal.h> void output_err(const char* s) { ssize_t len = (ssize_t)strlen(s); ssize_t where = 0; while (len - where > 0) { ssize_t res = write(STDERR_FILENO, s + where, len - where); if (res < 0) { if (errno != EINTR) return; } else { where += res; } } } void terminate_nocore() { // we use SIGKILL because it's reliable, does not dump core, and Windows // does not have it, so if we ever get crazy enough to propagate // termination by signal, the caller will still be able to distinguish // between local and Win32 failures. kill(getpid(), SIGKILL); abort(); // fallback, should not happen }
the_stack_data/288921.c
/** * Return an array of arrays of size *returnSize. * Note: The returned array must be malloced, assume caller calls free(). */ #include <stdlib.h> typedef int* data_t; struct vector_t { size_t size; size_t used; int max_depth; data_t* data; }; static void init_vector(struct vector_t* v, size_t size) { if (0 == size) size = 4; v->size = size; v->used = 0; v->data = malloc(size * sizeof(data_t)); if (NULL == v->data) exit(-1); } static struct vector_t* realloc_vector(struct vector_t* v, size_t next) { if (0 == next) { if (v->data) free(v->data); v->data = NULL; v->size = 0; v->used = 0; return v; } //realloc is better, but leetcode not supported data_t* new_v = malloc(next * sizeof(data_t)); int count = v->used < next ? v->used : next; for (int i=0; i<count; ++i) new_v[i] = v->data[i]; if (v->data) free(v->data); v->data = new_v; v->used = count; v->size = next; return v; } static void push_back_vector(struct vector_t* vec, data_t value) { if (vec->used >= vec->size) vec = realloc_vector(vec, vec->size ? vec->size << 1 : 4); vec->data[vec->used++] = value; } static int fill_permutations(int* nums, int depth, struct vector_t* vec) { if (depth == vec->max_depth) { int* arr = malloc(sizeof(int)*(depth+1)); arr[depth] = *nums; push_back_vector(vec, arr); return 1; } int base = vec->used; int total = 0; int size = vec->max_depth - depth + 1; int val; for (int i=0; i<size; ++i) { val = nums[i]; nums[i] = nums[0]; int num = fill_permutations(nums+1, depth+1, vec); for (int j=0; j<num; ++j) vec->data[base+total+j][depth] = val; nums[i] = val; total += num; } return total; } int** permute(int* nums, int numsSize, int* returnSize) { if (0 == numsSize) { *returnSize = 0; return NULL; } *returnSize = 1; for (int i=2; i<=numsSize; ++i) *returnSize *= i; struct vector_t res; init_vector(&res, *returnSize); res.max_depth = numsSize - 1; fill_permutations(nums, 0, &res); //realloc_vector(&res, res.size); return res.data; } #include <stdio.h> int main(int argc, char** argv) { int nums[] = {1,2,3}; int n = sizeof(nums)/sizeof(*nums); int ret_size; int** res = permute(nums, n, &ret_size); for (int i=0; i<ret_size; ++i) { printf("%d. ", i); for(int j=0; j<n; ++j) printf("%d ", res[i][j]); printf("\n"); free(res[i]); } if (res) free(res); return 0; }
the_stack_data/149402.c
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern void signal(int sig , void *func ) ; extern float strtof(char const *str , char const *endptr ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char const *endptr ) ; extern int fclose(void *stream ) ; extern void *fopen(char const *filename , char const *mode ) ; extern void abort() ; extern void exit(int status ) ; extern int raise(int sig ) ; extern int fprintf(struct _IO_FILE *stream , char const *format , ...) ; extern int strcmp(char const *a , char const *b ) ; extern int rand() ; extern unsigned long strtoul(char const *str , char const *endptr , int base ) ; void RandomFunc(unsigned char input[1] , unsigned char output[1] ) ; extern int strncmp(char const *s1 , char const *s2 , unsigned long maxlen ) ; extern int gettimeofday(struct timeval *tv , void *tz , ...) ; extern int printf(char const *format , ...) ; int main(int argc , char *argv[] ) ; void megaInit(void) ; extern unsigned long strlen(char const *s ) ; extern long strtol(char const *str , char const *endptr , int base ) ; extern unsigned long strnlen(char const *s , unsigned long maxlen ) ; extern void *memcpy(void *s1 , void const *s2 , unsigned long size ) ; struct timeval { long tv_sec ; long tv_usec ; }; extern void *malloc(unsigned long size ) ; extern int scanf(char const *format , ...) ; void megaInit(void) { { } } int main(int argc , char *argv[] ) { unsigned char input[1] ; unsigned char output[1] ; int randomFuns_i5 ; unsigned char randomFuns_value6 ; int randomFuns_main_i7 ; { megaInit(); if (argc != 2) { printf("Call this program with %i arguments\n", 1); exit(-1); } else { } randomFuns_i5 = 0; while (randomFuns_i5 < 1) { randomFuns_value6 = (unsigned char )strtoul(argv[randomFuns_i5 + 1], 0, 10); input[randomFuns_i5] = randomFuns_value6; randomFuns_i5 ++; } RandomFunc(input, output); if (output[0] == 189) { printf("You win!\n"); } else { } randomFuns_main_i7 = 0; while (randomFuns_main_i7 < 1) { printf("%u\n", output[randomFuns_main_i7]); randomFuns_main_i7 ++; } } } void RandomFunc(unsigned char input[1] , unsigned char output[1] ) { unsigned char state[1] ; unsigned char local1 ; { state[0UL] = input[0UL] + (unsigned char)69; local1 = 0UL; while (local1 < input[1UL]) { state[local1] *= state[local1]; state[local1] *= state[0UL]; local1 += 2UL; } local1 = 0UL; while (local1 < input[1UL]) { state[local1] = state[0UL] * state[0UL]; state[local1] += state[0UL]; local1 += 2UL; } output[0UL] = state[0UL] + (unsigned char)63; } }
the_stack_data/187644494.c
/// 3.6. Folosind expresii condiţionale, să se scrie un program care citeşte valoarea reală a lui x şi calculează valoarea funcţiei: #include <stdio.h> #include <stdlib.h> int main() { double x; printf("Introduceti o valoare pentru x: "); scanf("%lf", &x); if(x<-2) printf("f(%.2f) = %.2f", x, x*x+4*x+4); else if(x==-2) printf("f(%.2f) = 0", x); else printf("f(%.2f) = %.2f", x, x*x+5*x); return 0; }
the_stack_data/9512707.c
#include <stdio.h> #include <math.h> int main() { const unsigned long n = 123; double digits = 0; unsigned i; for (i=1; i<=n; i++) { digits += log10(i); } printf("%lu", (unsigned long)digits + 1); }
the_stack_data/76699876.c
#include<stdio.h> void main() {int i,j,k=0; for(i=1;i<=7;i++) { (i<=4?k++:k--); for(j=1;j<=7;j++) {if(j>=5-k&&j<=3+k) printf("*"); else printf(" "); } printf("\n"); } }
the_stack_data/28879.c
/* This program demonstrates the method of passing command line arguments to a C Program */ #include <stdio.h> main(argc, argv) int argc; char* argv[]; { int i; printf("Number of command line arguments: %d\n",argc); for(i=0;i<argc;i++){ printf("Argument %d is %s\n",i,argv[i]); } } /* Example Execution $ a.out 1 2 3 4 5 Number of command line arguments: 6 Argument 0 is a.out Argument 1 is 1 Argument 2 is 2 Argument 3 is 3 Argument 4 is 4 Argument 5 is 5 $ a.out *.dat Number of command line arguments: 3 Argument 0 is a.out Argument 1 is gradepretty.dat Argument 2 is output.dat $ */
the_stack_data/111077174.c
void foo (void) { _Bool d; long double _Complex *s; d = *s++; }
the_stack_data/231392486.c
#include <stdint.h> #define SIMON_FRAME_COUNT 7 #define SIMON_FRAME_WIDTH 32 #define SIMON_FRAME_HEIGHT 32 /* Piskel data for "Simon" */ static const uint32_t simon_data[7][1024] = { { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffe100ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } };
the_stack_data/105696.c
// RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32i2p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32im -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32ima -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imaf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imafd -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32ic -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imac -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imafc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32imafdc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32ia -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32iaf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32iafd -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32iac -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32iafc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32iafdc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32g -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -march=rv32gc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv32-unknown-elf -mabi=ilp32 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-ILP32 %s // CHECK-ILP32: "-target-feature" "+m" // CHECK-ILP32-SAME: {{^}} "-target-feature" "+a" // CHECK-ILP32-SAME: {{^}} "-target-feature" "+f" // CHECK-ILP32-SAME: {{^}} "-target-feature" "+d" // CHECK-ILP32-SAME: {{^}} "-target-feature" "+c" // RUN: %clang -target riscv32-unknown-elf -mabi=ilp32f -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-ILP32F %s // CHECK-ILP32F: "-target-feature" "+m" // CHECK-ILP32F-SAME: {{^}} "-target-feature" "+a" // CHECK-ILP32F-SAME: {{^}} "-target-feature" "+f" // CHECK-ILP32F-SAME: {{^}} "-target-feature" "+d" // CHECK-ILP32F-SAME: {{^}} "-target-feature" "+c" // RUN: %clang -target riscv32-unknown-elf -mabi=ilp32d -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-ILP32D %s // CHECK-ILP32D: "-target-feature" "+m" // CHECK-ILP32D-SAME: {{^}} "-target-feature" "+a" // CHECK-ILP32D-SAME: {{^}} "-target-feature" "+f" // CHECK-ILP32D-SAME: {{^}} "-target-feature" "+d" // CHECK-ILP32D-SAME: {{^}} "-target-feature" "+c" // RUN: %clang -target riscv64-unknown-elf -march=rv64i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64i2p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64im -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64ima -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imaf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imafd -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64ic -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imac -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imafc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64imafdc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64ia -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64iaf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64iafd -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64iac -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64iafc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64iafdc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64g -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -march=rv64gc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck %s // RUN: %clang -target riscv64-unknown-elf -mabi=lp64 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-LP64 %s // CHECK-LP64: "-target-feature" "+m" // CHECK-LP64-SAME: {{^}} "-target-feature" "+a" // CHECK-LP64-SAME: {{^}} "-target-feature" "+f" // CHECK-LP64-SAME: {{^}} "-target-feature" "+d" // CHECK-LP64-SAME: {{^}} "-target-feature" "+c" // RUN: %clang -target riscv64-unknown-elf -mabi=lp64f -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-LP64F %s // CHECK-LP64F: "-target-feature" "+m" // CHECK-LP64F-SAME: {{^}} "-target-feature" "+a" // CHECK-LP64F-SAME: {{^}} "-target-feature" "+f" // CHECK-LP64F-SAME: {{^}} "-target-feature" "+d" // CHECK-LP64F-SAME: {{^}} "-target-feature" "+c" // RUN: %clang -target riscv64-unknown-elf -mabi=lp64d -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CHECK-LP64D %s // CHECK-LP64D: "-target-feature" "+m" // CHECK-LP64D-SAME: {{^}} "-target-feature" "+a" // CHECK-LP64D-SAME: {{^}} "-target-feature" "+f" // CHECK-LP64D-SAME: {{^}} "-target-feature" "+d" // CHECK-LP64D-SAME: {{^}} "-target-feature" "+c" // CHECK-NOT: error: invalid arch name ' // RUN: %clang -target riscv32-unknown-elf -march=rv32 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32 %s // RV32: error: invalid arch name 'rv32' // RUN: %clang -target riscv32-unknown-elf -march=rv32m -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32M %s // RV32M: error: invalid arch name 'rv32m' // RUN: %clang -target riscv32-unknown-elf -march=rv32id -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32ID %s // RV32ID: error: invalid arch name 'rv32id' // RUN: %clang -target riscv32-unknown-elf -march=rv32l -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32L %s // RV32L: error: invalid arch name 'rv32l' // RUN: %clang -target riscv32-unknown-elf -march=rv32imadf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32IMADF %s // RV32IMADF: error: invalid arch name 'rv32imadf' // RUN: %clang -target riscv32-unknown-elf -march=rv32imm -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32IMM %s // RV32IMM: error: invalid arch name 'rv32imm' // RUN: %clang -target riscv32-unknown-elf -march=RV32I -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32I-UPPER %s // RV32I-UPPER: error: invalid arch name 'RV32I' // RUN: %clang -target riscv64-unknown-elf -march=rv64 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64 %s // RV64: error: invalid arch name 'rv64' // RUN: %clang -target riscv64-unknown-elf -march=rv64m -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64M %s // RV64M: error: invalid arch name 'rv64m' // RUN: %clang -target riscv64-unknown-elf -march=rv64id -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64ID %s // RV64ID: error: invalid arch name 'rv64id' // RUN: %clang -target riscv64-unknown-elf -march=rv64l -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64L %s // RV64L: error: invalid arch name 'rv64l' // RUN: %clang -target riscv64-unknown-elf -march=rv64imadf -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64IMADF %s // RV64IMADF: error: invalid arch name 'rv64imadf' // RUN: %clang -target riscv64-unknown-elf -march=rv64imm -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64IMM %s // RV64IMM: error: invalid arch name 'rv64imm' // RUN: %clang -target riscv64-unknown-elf -march=RV64I -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64I-UPPER %s // RV64I-UPPER: error: invalid arch name 'RV64I' // Testing specific messages and unsupported extensions. // RUN: %clang -target riscv64-unknown-elf -march=rv64e -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64E %s // RV64E: error: invalid arch name 'rv64e', // RV64E: standard user-level extension 'e' requires 'rv32' // RUN: %clang -target riscv32-unknown-elf -march=rv32imC -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-LOWER %s // RV32-LOWER: error: invalid arch name 'rv32imC', // RV32-LOWER: string must be lowercase // RUN: %clang -target riscv32-unknown-elf -march=unknown -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-STR %s // RV32-STR: error: invalid arch name 'unknown', // RV32-STR: string must begin with rv32{i,e,g} or rv64{i,g} // RUN: %clang -target riscv32-unknown-elf -march=rv32q -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-LETTER %s // RV32-LETTER: error: invalid arch name 'rv32q', // RV32-LETTER: first letter should be 'e', 'i' or 'g' // RUN: %clang -target riscv32-unknown-elf -march=rv32imcq -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ORDER %s // RV32-ORDER: error: invalid arch name 'rv32imcq', // RV32-ORDER: standard user-level extension not given in canonical order 'q' // RUN: %clang -target riscv32-unknown-elf -march=rv32imw -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-STD-INVAL %s // RV32-STD-INVAL: error: invalid arch name 'rv32imw', // RV32-STD-INVAL: invalid standard user-level extension 'w' // RUN: %clang -target riscv32-unknown-elf -march=rv32imqc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-STD %s // RV32-STD: error: invalid arch name 'rv32imqc', // RV32-STD: unsupported standard user-level extension 'q' // RUN: %clang -target riscv32-unknown-elf -march=rv32xabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32X %s // RV32X: error: invalid arch name 'rv32xabc', // RV32X: first letter should be 'e', 'i' or 'g' // RUN: %clang -target riscv32-unknown-elf -march=rv32sxabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32SX %s // RV32SX: error: invalid arch name 'rv32sxabc', // RV32SX: first letter should be 'e', 'i' or 'g' // RUN: %clang -target riscv32-unknown-elf -march=rv32sabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32S %s // RV32S: error: invalid arch name 'rv32sabc', // RV32S: first letter should be 'e', 'i' or 'g' // RUN: %clang -target riscv32-unknown-elf -march=rv32ix -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32X-NAME %s // RV32X-NAME: error: invalid arch name 'rv32ix', // RV32X-NAME: non-standard user-level extension name missing after 'x' // RUN: %clang -target riscv32-unknown-elf -march=rv32isx -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32SX-NAME %s // RV32SX-NAME: error: invalid arch name 'rv32isx', // RV32SX-NAME: non-standard supervisor-level extension // RV32SX-NAME: name missing after 'sx' // RUN: %clang -target riscv32-unknown-elf -march=rv32is -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32S-NAME %s // RV32S-NAME: error: invalid arch name 'rv32is', // RV32S-NAME: standard supervisor-level extension // RV32S-NAME: name missing after 's' // RUN: %clang -target riscv32-unknown-elf -march=rv32ix_s_sx -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32ALL-NAME %s // RV32ALL-NAME: error: invalid arch name 'rv32ix_s_sx', // RV32ALL-NAME: non-standard user-level extension // RV32ALL-NAME: name missing after 'x' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32X-UNS %s // RV32X-UNS: error: invalid arch name 'rv32ixabc', // RV32X-UNS: unsupported non-standard user-level extension 'xabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32isa -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32S-UNS %s // RV32S-UNS: error: invalid arch name 'rv32isa', // RV32S-UNS: unsupported standard supervisor-level extension 'sa' // RUN: %clang -target riscv32-unknown-elf -march=rv32isxabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32SX-UNS %s // RV32SX-UNS: error: invalid arch name 'rv32isxabc', // RV32SX-UNS: unsupported non-standard supervisor-level extension 'sxabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_sp_sxlw -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32ALL %s // RV32ALL: error: invalid arch name 'rv32ixabc_sp_sxlw', // RV32ALL: unsupported non-standard user-level extension 'xabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32i20 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-IVER %s // RV32-IVER: error: invalid arch name 'rv32i20', unsupported // RV32-IVER: version number 20 for extension 'i' // RUN: %clang -target riscv32-unknown-elf -march=rv32imc5 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-CVER %s // RV32-CVER: error: invalid arch name 'rv32imc5', unsupported // RV32-CVER: version number 5 for extension 'c' // RUN: %clang -target riscv32-unknown-elf -march=rv32i2p -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-IMINOR-MISS %s // RV32-IMINOR-MISS: error: invalid arch name 'rv32i2p', // RV32-IMINOR-MISS: minor version number missing after 'p' for extension 'i' // RUN: %clang -target riscv32-unknown-elf -march=rv32i2p1 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-IMINOR1 %s // RV32-IMINOR1: error: invalid arch name 'rv32i2p1', unsupported // RV32-IMINOR1: version number 2.1 for extension 'i' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixt2p -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-XMINOR-MISS %s // RV32-XMINOR-MISS: error: invalid arch name 'rv32ixt2p', // RV32-XMINOR-MISS: minor version number missing after 'p' for extension 'xt' // RUN: %clang -target riscv32-unknown-elf -march=rv32ist2p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-SMINOR0 %s // RV32-SMINOR0: error: invalid arch name 'rv32ist2p0', // RV32-SMINOR0: unsupported version number 2.0 for extension 'st' // RUN: %clang -target riscv32-unknown-elf -march=rv32isxt2p1 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-SXMINOR1 %s // RV32-SXMINOR1: error: invalid arch name 'rv32isxt2p1', unsupported // RV32-SXMINOR1: version number 2.1 for extension 'sxt' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_ -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-XSEP %s // RV32-XSEP: error: invalid arch name 'rv32ixabc_', // RV32-XSEP: extension name missing after separator '_' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_a -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-PREFIX %s // RV32-PREFIX: error: invalid arch name 'rv32ixabc_a', // RV32-PREFIX: invalid extension prefix 'a' // RUN: %clang -target riscv32-unknown-elf -march=rv32isabc_xdef -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-X-ORDER %s // RV32-X-ORDER: error: invalid arch name 'rv32isabc_xdef', // RV32-X-ORDER: non-standard user-level extension not given // RV32-X-ORDER: in canonical order 'xdef' // RUN: %clang -target riscv32-unknown-elf -march=rv32isxabc_sdef -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-S-ORDER %s // RV32-S-ORDER: error: invalid arch name 'rv32isxabc_sdef', // RV32-S-ORDER: standard supervisor-level extension not given // RV32-S-ORDER: in canonical order 'sdef' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_xabc -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-XDUP %s // RV32-XDUP: error: invalid arch name 'rv32ixabc_xabc', // RV32-XDUP: duplicated non-standard user-level extension 'xabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_xdef -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-X-X-INVAL %s // RV32-X-X-INVAL: error: invalid arch name 'rv32ixabc_xdef', unsupported // RV32-X-X-INVAL: non-standard user-level extension 'xabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32ixabc_sdef_sxghi -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-X-S-SX-INVAL %s // RV32-X-S-SX-INVAL: error: invalid arch name 'rv32ixabc_sdef_sxghi', // RV32-X-S-SX-INVAL: unsupported non-standard user-level extension 'xabc' // RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-TARGET %s // RUN: %clang -target riscv64-unknown-elf -march=rv32i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-TARGET %s // RV32-TARGET: "-triple" "riscv32-unknown-unknown-elf" // RUN: %clang -target riscv32-unknown-elf -march=rv64i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64-TARGET %s // RUN: %clang -target riscv64-unknown-elf -march=rv64i -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV64-TARGET %s // RV64-TARGET: "-triple" "riscv64-unknown-unknown-elf" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbb1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBB %s // RUN: %clang -target riscv32-unknown-elf -march=rv32izbb -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBB %s // RV32-ZBB: "-target-feature" "+zbb" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbb1p0_zbp0p93 -menable-experimental-extensions -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-ZBB-ZBP %s // RV32-EXPERIMENTAL-ZBB-ZBP: "-target-feature" "+zbb" // RV32-EXPERIMENTAL-ZBB-ZBP: "-target-feature" "+experimental-zbp" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbb1p0zbp0p93 -menable-experimental-extensions -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-EXPERIMENTAL-ZBB-ZBP-UNDERSCORE %s // RV32-EXPERIMENTAL-ZBB-ZBP-UNDERSCORE: error: invalid arch name 'rv32izbb1p0zbp0p93', unsupported version number 0.93 for extension 'zbb1p0zbp' // RUN: %clang -target riscv32-unknown-elf -march=rv32izba1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBA %s // RUN: %clang -target riscv32-unknown-elf -march=rv32izba -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBA %s // RV32-ZBA: "-target-feature" "+zba" // RUN: %clang -target riscv32-unknown-elf -march=rv32iv0p1 -### %s -c 2>&1 | \ // RUN: FileCheck -check-prefix=RV32-V-BADVERS %s // RV32-V-BADVERS: error: invalid arch name 'rv32iv0p1' // RV32-V-BADVERS: unsupported version number 0.1 for extension 'v' // RUN: %clang -target riscv32-unknown-elf -march=rv32iv1p0 -### %s -c 2>&1 | \ // RUN: FileCheck -check-prefix=RV32-V-GOODVERS %s // RV32-V-GOODVERS: "-target-feature" "+v" // RUN: %clang -target riscv32-unknown-elf -march=rv32iv1p0_zvl32b0p1 -### %s -c 2>&1 | \ // RUN: FileCheck -check-prefix=RV32-ZVL-BADVERS %s // RV32-ZVL-BADVERS: error: invalid arch name 'rv32iv1p0_zvl32b0p1' // RV32-ZVL-BADVERS: unsupported version number 0.1 for extension 'zvl32b' // RUN: %clang -target riscv32-unknown-elf -march=rv32iv1p0_zvl32b1p0 -### %s -c 2>&1 | \ // RUN: FileCheck -check-prefix=RV32-ZVL-GOODVERS %s // RV32-ZVL-GOODVERS: "-target-feature" "+zvl32b" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbkc1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBKC %s // RV32-ZBKC: "-target-feature" "+zbkc" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbkx1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBKX %s // RV32-ZBKX: "-target-feature" "+zbkx" // RUN: %clang -target riscv32-unknown-elf -march=rv32izbkb1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZBKB %s // RV32-ZBKB: "-target-feature" "+zbkb" // RUN: %clang -target riscv32-unknown-elf -march=rv32izknd1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKND %s // RV32-ZKND: "-target-feature" "+zknd" // RUN: %clang -target riscv32-unknown-elf -march=rv32izkne1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKNE %s // RV32-ZKNE: "-target-feature" "+zkne" // RUN: %clang -target riscv32-unknown-elf -march=rv32izknh1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKNH %s // RV32-ZKNH: "-target-feature" "+zknh" // RUN: %clang -target riscv32-unknown-elf -march=rv32izksed1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKSED %s // RV32-ZKSED: "-target-feature" "+zksed" // RUN: %clang -target riscv32-unknown-elf -march=rv32izksh1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKSH %s // RV32-ZKSH: "-target-feature" "+zksh" // RUN: %clang -target riscv32-unknown-elf -march=rv32izkr1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKR %s // RV32-ZKR: "-target-feature" "+zkr" // RUN: %clang -target riscv32-unknown-elf -march=rv32izkt1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZKT %s // RV32-ZKT: "-target-feature" "+zkt" // RUN: %clang -target riscv32-unknown-elf -march=rv32izk1p0 -### %s \ // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=RV32-ZK %s // RV32-ZK: "-target-feature" "+zk"
the_stack_data/1134843.c
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <pthread.h> #include <stdatomic.h> #include <assert.h> // linuxrwlocks.c // #ifdef MAKE_ACCESSES_SC # define mo_relaxed memory_order_seq_cst # define mo_acquire memory_order_seq_cst # define mo_release memory_order_seq_cst #else # define mo_relaxed memory_order_relaxed # define mo_acquire memory_order_acquire # define mo_release memory_order_release #endif #define MAXREADERS 3 #define MAXWRITERS 3 #define MAXRDWR 3 #ifdef CONFIG_RWLOCK_READERS #define DEFAULT_READERS (CONFIG_RWLOCK_READERS) #else #define DEFAULT_READERS 1 #endif #ifdef CONFIG_RWLOCK_WRITERS #define DEFAULT_WRITERS (CONFIG_RWLOCK_WRITERS) #else #define DEFAULT_WRITERS 1 #endif #ifdef CONFIG_RWLOCK_RDWR #define DEFAULT_RDWR (CONFIG_RWLOCK_RDWR) #else #define DEFAULT_RDWR 0 #endif int readers = DEFAULT_READERS, writers = DEFAULT_WRITERS, rdwr = DEFAULT_RDWR; #ifdef SPINLOOP_ASSUME void __VERIFIER_assume(int); #endif #define RW_LOCK_BIAS 0x00100000 #define WRITE_LOCK_CMP RW_LOCK_BIAS /** Example implementation of linux rw lock along with 2 thread test * driver... */ typedef union { atomic_int lock; } rwlock_t; static inline int read_can_lock(rwlock_t *lock) { return atomic_load_explicit(&lock->lock, mo_relaxed) > 0; } static inline int write_can_lock(rwlock_t *lock) { return atomic_load_explicit(&lock->lock, mo_relaxed) == RW_LOCK_BIAS; } static inline void read_lock(rwlock_t *rw) { int priorvalue = atomic_fetch_sub_explicit(&rw->lock, 1, mo_acquire); while (priorvalue <= 0) { atomic_fetch_add_explicit(&rw->lock, 1, mo_relaxed); #ifdef SPINLOOP_ASSUME __VERIFIER_assume(atomic_load_explicit(&rw->lock, mo_relaxed) > 0); #else while (atomic_load_explicit(&rw->lock, mo_relaxed) <= 0) ; //thrd_yield(); #endif priorvalue = atomic_fetch_sub_explicit(&rw->lock, 1, mo_acquire); } } static inline void write_lock(rwlock_t *rw) { int priorvalue = atomic_fetch_sub_explicit(&rw->lock, RW_LOCK_BIAS, mo_acquire); while (priorvalue != RW_LOCK_BIAS) { atomic_fetch_add_explicit(&rw->lock, RW_LOCK_BIAS, mo_relaxed); #ifdef SPINLOOP_ASSUME __VERIFIER_assume(atomic_load_explicit(&rw->lock, mo_relaxed) == RW_LOCK_BIAS); #else while (atomic_load_explicit(&rw->lock, mo_relaxed) != RW_LOCK_BIAS) ; //thrd_yield(); #endif priorvalue = atomic_fetch_sub_explicit(&rw->lock, RW_LOCK_BIAS, mo_acquire); } } static inline int read_trylock(rwlock_t *rw) { int priorvalue = atomic_fetch_sub_explicit(&rw->lock, 1, mo_acquire); if (priorvalue > 0) return 1; atomic_fetch_add_explicit(&rw->lock, 1, mo_relaxed); return 0; } static inline int write_trylock(rwlock_t *rw) { int priorvalue = atomic_fetch_sub_explicit(&rw->lock, RW_LOCK_BIAS, mo_acquire); if (priorvalue == RW_LOCK_BIAS) return 1; atomic_fetch_add_explicit(&rw->lock, RW_LOCK_BIAS, mo_relaxed); return 0; } static inline void read_unlock(rwlock_t *rw) { atomic_fetch_add_explicit(&rw->lock, 1, mo_release); } static inline void write_unlock(rwlock_t *rw) { atomic_fetch_add_explicit(&rw->lock, RW_LOCK_BIAS, mo_relaxed); } rwlock_t mylock; int shareddata; void *threadR(void *arg) { read_lock(&mylock); int r = shareddata; assert(r == shareddata); read_unlock(&mylock); return NULL; } void *threadW(void *arg) { write_lock(&mylock); shareddata = 42; assert(42 == shareddata); write_unlock(&mylock); return NULL; } void *threadRW(void *arg) { for (int i = 0; i < 2; i++) { if ((i % 2) == 0) { read_lock(&mylock); int r = shareddata; assert(r == shareddata); read_unlock(&mylock); } else { write_lock(&mylock); shareddata = i; assert(shareddata == i); write_unlock(&mylock); } } return NULL; } // variant // int main() { pthread_t W0, R0, RW0; atomic_init(&mylock.lock, RW_LOCK_BIAS); pthread_create(&W0, NULL, threadW, NULL); pthread_create(&R0, NULL, threadR, NULL); pthread_create(&RW0, NULL, threadRW, NULL); return 0; }
the_stack_data/70449884.c
#include <stdio.h> #include <string.h> /* Faça um programa em C que leia uma string e depois leia um valor inteiro entre 1 e 50 (faça um laço de repetição que garante esse valor). O valor inteiro será utilizado como "senha" para "codificar" a string inserida, em uma implementação rudimentar da chamada "shift cypher" (cifra de deslocamento). Some o valor inteiro aos caracteres alfabéticos da String inserida e depois exiba a string. Depois, solicite um outro valor inteiro entre 0 e 50 (também com laço de repetição) e use o novo valor inteiro para "decodificar" a string, decrementando o valor inteiro de cada caractere. Exemplo: String digitada: "Ola mundo" Inteiro digitado: 3 String codificada: "Rod pxqgr" */ int main(void) { char string_codigo[30]; int senha; printf("Digite uma frase: "); gets(string_codigo); do { printf("Digite a senha: "); scanf("%d", &senha); } while((senha<1)||(senha>50)); for (int i = 0; i < strlen(string_codigo); i++) { if ( ((string_codigo[i] >= 65) && (string_codigo[i] <= 90)) || ((string_codigo[i] >= 97) && (string_codigo[i] <= 122)) ) { string_codigo[i] += senha; } } printf("String codificada: %s\n", string_codigo); for (int i = 0; i < strlen(string_codigo); i++) { if (string_codigo[i] != 32) string_codigo[i] -= senha; } printf("String decodificada: %s\n", string_codigo); return 0; }
the_stack_data/542032.c
#include <stdio.h> #include <string.h> int main() { char string[266], letra; int repeat, conta = 0; scanf("%[^\n]", string); for (repeat = 0; repeat < strlen(string); repeat ++) { if (string[repeat] == letra) { conta ++; } } for (repeat = strlen(string) - 1; repeat > 0; repeat --) { printf("%c", string[repeat]); } printf("%c\n", string[repeat]); return(0); }
the_stack_data/165767848.c
/* Name: p3-03.c Purpose: Separate ISBN number into groups. Author: NiceMan1337 Date: 06.03.2022 */ #include <stdio.h> int main (void) { /*declare variables*/ int gsi, group, code, number, digit; /*ask user for ISBN number*/ printf("Enter ISBN: "); scanf("%d-%d-%d-%d-%d", &gsi, &group, &code, &number, &digit); /*print out the results*/ printf("GSI prefix: %d\n", gsi); printf("Group identifier: %d\n", group); printf("Publisher code: %d\n", code); printf("Item number: %d\n", number); printf("Check digit: %d\n", digit); return 0; }
the_stack_data/1072532.c
#include <stdio.h> #include <string.h> #include <stdlib.h> void concat(char* A, char* B, int size); int help(char* A, char* B) ; int Max = 2500; void swap(int *x, int *y) { int h; h = *x; *x = *y; *y = h; } void por(int *a, int l, int r, char** S, char* str) { int i, j, len; if (l == r){ strcat(str, S[a[0]]); for(j = 1; j < r + 1; j++) concat(str, S[a[j]], help(str, S[a[j]])); len = strlen(str); if (Max > len) Max = len; memset(str, 0, 10 * 50); } else { for (i = l; i <= r; i++){ swap((a + l), (a + i)); por(a, l + 1, r, S, str); swap((a + l), (a + i)); } } } int help(char* A, char* B) { int a = strlen(A); int b = strlen(B); int i, t, z, e = 0; for( i = 0; i < a; i++) { z = i; t = 0; while((A[z] == B[t]) && (z < a) && (t < b)){ z++; t++; if ((t > e) && (A[z] == '\0')) e = t; } } return e; } void concat(char* A, char* B, int size) { A[strlen(A) - size] = '\0'; strcat(A, B); } int main() { int i, j; scanf("%d", &i); int* string = calloc(i, sizeof(int)); for(j = 0; j < i; j++) string[j] = j; char** S = calloc(i, sizeof(char*)); char* str = calloc(10 * 50,sizeof(char)); for(j = 0; j < i; j++){ S[j] = calloc(50, sizeof(char)); scanf("%s", S[j]); } por(string, 0, i - 1, S, str); printf("%d\n", Max); for(j = 0; j < i; j++) free(S[j]); free(S); free(str); free(string); return 0; }
the_stack_data/65965.c
#include <stdio.h> #include <stdlib.h> void minmax(int *arr, int size, int *min, int *max); int main() { int n; int arr[500]; int min = 0,max = 15; do{ scanf("%d",&n); }while(n < 1); minmax(arr, n, &min, &max); return 0; } void minmax(int *arr, int size, int *min, int *max){ int i; for(i = 0;i < size;i++){ scanf("%d",&arr[i]); } *max = 0; *min = 0; for(i = 0;i < size;i++){ if(arr[i] > *max){ *max = arr[i]; } if(arr[i] < *min){ *min = arr[i]; } } printf("%d",*max + *min); }
the_stack_data/123258.c
/*============================================================================= GNU UnRTF, a command-line program to convert RTF documents to other formats. Copyright (C) 2000,2001,2004 by Zachary Smith This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA The maintainer is reachable by electronic mail at [email protected] =============================================================================*/ /*---------------------------------------------------------------------- * Module name: malloc * Author name: Zachary Smith * Create date: 01 Aug 01 * Purpose: Memory management. Allows us to keep track of how * much memory is being used. *---------------------------------------------------------------------- * Changes: * 14 Aug 01, [email protected]: added Turbo C support. * 16 Aug 01, Lars Unger <[email protected]>: added Amiga/GCC support. * 22 Sep 01, [email protected]: added function-level comment blocks * 28 Sep 01, [email protected]: removed Turbo C support. * 08 Oct 03, [email protected]: added stdlib.h for linux * 29 Mar 05, [email protected]: changes requested by ZT Smith * 16 Dec 07, [email protected]: updated to GPL v3 * 09 Nov 08, [email protected]: added my_realloc *--------------------------------------------------------------------*/ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifdef HAVE_STDIO_H #include <stdio.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #include "error.h" #include "malloc.h" static unsigned long count=0; /*======================================================================== * Name: my_malloc * Purpose: Internal version of malloc necessary for record keeping. * Args: Amount. * Returns: Pointer. *=======================================================================*/ char * my_malloc (unsigned long size) { char *ptr; ptr = malloc (size); if (ptr) count += size; return ptr; } /*======================================================================== * Name: my_free * Purpose: Internal version of free necessary for record keeping. * Args: Pointer. * Returns: None. *=======================================================================*/ void my_free (char* ptr) { CHECK_PARAM_NOT_NULL(ptr); free (ptr); } #if 1 /* AK3 - AF */ /*======================================================================== * Name: my_realloc * Purpose: Internal version of realloc necessary for record keeping. * Args: Pointer. * Returns: None. *=======================================================================*/ char * my_realloc(char *ptr, unsigned long old_size, unsigned long new_size) { char *new_ptr = my_malloc(new_size); if (new_ptr != NULL) memcpy(new_ptr, ptr, old_size); my_free(ptr); return new_ptr; } #endif /*======================================================================== * Name: total_malloced * Purpose: Returns total amount of memory thus far allocated. Called at * the end of main() when in debug mode. * Args: None. * Returns: Amount. *=======================================================================*/ unsigned long total_malloced (void) { return count; } /*======================================================================== * Name: my_strdup * Purpose: Internal version of strdup necessary for record keeping. * Args: String. * Returns: String. *=======================================================================*/ char * my_strdup (char *src) { unsigned long len; char *ptr; CHECK_PARAM_NOT_NULL(src); len = strlen(src); ptr = my_malloc (len+1); if (!ptr) error_handler ("out of memory in strdup()"); strcpy (ptr, src); return ptr; } /* added by daved */ #include <sys/types.h> #undef malloc void *malloc (); /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */ void * rpl_malloc (size_t n) { if (n == 0) n = 1; return malloc (n); }
the_stack_data/9511897.c
// PARAM: --sets solver td3 --enable ana.int.interval --disable ana.int.trier --disable exp.fast_global_inits --sets exp.partition-arrays.keep-expr "last" --enable exp.partition-arrays.enabled --set ana.activated "['base','expRelation','octagon']" void main(void) { example1(); } void example1(void) { int a[42]; a[40] = 2; int i = 0; while(i < 41) { a[i] = 0; i++; } assert(a[2] == 0); assert(a[3] == 0); }
the_stack_data/48574445.c
#include "string.h" #include "stdio.h" main() { char str1[20], str2[20], *p1, *p2; int sum = 0; printf("please input two strings\n"); scanf("%s%s", str1, str2); p1 = str1; p2 = str2; while (*p1 != '\0') { if (*p1 == *p2) { while (*p1 == *p2 && *p2 != '\0') { p1++; p2++; } } else { p1++; } if (*p2 == '\0'){ sum++; } p2 = str2; } printf("%d", sum); }
the_stack_data/90764746.c
#include<stdio.h> int main() { int nu1,nu2,nu3; printf("enter 3 numbers"); scanf("%d%d%d",&nu1,&nu2,&nu3); if(nu1>nu3&&nu1>nu2) { printf("%d is largest number",nu1); } if(nu2>nu3&&nu2>nu1) { printf("%d is largest number",nu2); } else { printf("%d is the largest number",nu3); } return 0; }
the_stack_data/192329378.c
/* VETOR PARA LISTA. Escreva uma função que copie um vetor para uma lista encadeada. Utilizando ponteiro de ponteiro Sem utilizar ponteiro de ponteiro, aqui além de criar um ponteiro, crio também uma estrutura a qual o ponteiro irá apontar. Veja que a principal diferença está na forma com que eu criei a estrutura. */ #include <stdio.h> #include <stdlib.h> typedef struct yo{ int conteudo; struct yo *proximo; } CELULA; void insere(int conteudo, CELULA *lista){ CELULA *nova; nova = malloc(sizeof(CELULA)); nova -> conteudo = conteudo; nova -> proximo = lista -> proximo; lista -> proximo = nova; } void imprime(CELULA *lista){ CELULA *p; p = lista -> proximo; while(p != NULL){ printf("%d\n", p -> conteudo); p = p -> proximo; } } void main(void){ CELULA cabeca; CELULA *lista; lista = &cabeca; cabeca.proximo = NULL; int vetor[] = {2, 4, 6, 8, 10, 12}; for(int i = 0; i < sizeof(vetor) / sizeof(int); i++){ insere(vetor[i], lista); } imprime(lista); }
the_stack_data/159514586.c
/* A simple http server for performance test. Copyright (C) 2013 Sun, Junyi <[email protected]> */ /* https://github.com/fxsjy/httpstub */ #include <sys/time.h> #include <sys/types.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <getopt.h> #include <unistd.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/wait.h> #include <sys/sendfile.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netinet/tcp.h> #include <net/if.h> #include <fcntl.h> #include <time.h> #include <sys/ioctl.h> #include <errno.h> #include <assert.h> #include <signal.h> #include <sys/epoll.h> #include <pthread.h> #include <errno.h> #define MAX_EPOLL_FD 4096 #define MAX_BUF_SIZE (1<<20) #define WORKER_COUNT 2 int ep_fd[WORKER_COUNT],listen_fd; int g_delay; int g_shutdown_flag; int g_quiet; FILE *g_logger; int g_pipe[WORKER_COUNT][2]; enum version_t { HTTP_1_0 = 10, HTTP_1_1 = 11 }; struct io_data_t { int fd; struct sockaddr_in addr; char *in_buf; char *out_buf; int in_buf_cur; int out_buf_cur; int out_buf_total; int keep_alive; enum version_t version; }; struct slice_t { char *begin; size_t size; }; struct thread_data_t{ struct slice_t data_from_file; int myep_fd; int mypipe_fd; }; static void *handle_io_loop(void *param); static void httpstub_log(const char *fmt, ...); static void setnonblocking(int fd) { int opts; opts = fcntl(fd, F_GETFL); if (opts < 0) { fprintf(stderr, "fcntl failed\n"); return; } opts = opts | O_NONBLOCK; if (fcntl(fd, F_SETFL, opts) < 0) { fprintf(stderr, "fcntl failed\n"); return; } return; } static void usage() { printf("usage: httpstub -p <port> -f <data file> -d <delay (ms)> [-q quiet] \n"); } static struct slice_t load_data(char *fname) { struct stat buf; char *bin = NULL; FILE *fptr; int ret; struct slice_t result; ret = stat(fname, &buf); if (ret < 0) { printf("open %s failed\n", fname); perror(""); exit(1); } printf(">> size of %s is %d\n", fname, (int)buf.st_size); if (buf.st_size <= 0) { printf("the file is empty or broken\n"); exit(1); } if (buf.st_size <= 0 || buf.st_size > MAX_BUF_SIZE) { printf("file is too large\n"); exit(1); } bin = (char *)malloc(sizeof(char) * buf.st_size + 1); bin[buf.st_size] = '\0'; result.size = buf.st_size; result.begin = bin; fptr = fopen(fname, "rb"); if(fread(bin, buf.st_size, 1, fptr)<=0){ perror("failed to read file"); exit(1); }; fclose(fptr); return result; } static struct io_data_t * alloc_io_data(int client_fd, struct sockaddr_in *client_addr) { struct io_data_t *io_data_ptr = (struct io_data_t *)malloc(sizeof(struct io_data_t)); io_data_ptr->fd = client_fd; io_data_ptr->in_buf = (char *)malloc(4096); io_data_ptr->out_buf = (char *)malloc(MAX_BUF_SIZE); io_data_ptr->in_buf_cur = 0; io_data_ptr->out_buf_cur = 0; io_data_ptr->keep_alive = 1; if (client_addr) io_data_ptr->addr = *client_addr; return io_data_ptr; } static void destroy_io_data(struct io_data_t *io_data_ptr) { if(NULL == io_data_ptr)return; if(io_data_ptr->in_buf)free(io_data_ptr->in_buf); if(io_data_ptr->out_buf)free(io_data_ptr->out_buf); io_data_ptr->in_buf = NULL; io_data_ptr->out_buf = NULL; free(io_data_ptr); } void exit_hook(int number) { close(listen_fd); g_shutdown_flag=1; printf(">> [%d]will shutdown...[%d]\n", getpid(),number); } int main(int argc, char **argv) { const char *ip_binding = "0.0.0.0"; int port_listening = 8402; char *data_file=NULL; int opt; int on = 1; int client_fd=0; int worker_count=WORKER_COUNT,i; register int worker_pointer = 0; struct sockaddr_in server_addr; struct slice_t data_from_file; pthread_t tid[WORKER_COUNT]; pthread_attr_t tattr[WORKER_COUNT]; struct thread_data_t tdata[WORKER_COUNT]; char ip_buf[256] = { 0 }; struct sockaddr_in client_addr; socklen_t client_n; g_delay = 0; g_shutdown_flag = 0; if (argc == 1) { usage(); return 1; } g_quiet = 0; while ((opt = getopt(argc, argv, "l:p:f:d:hq")) != -1) { switch (opt) { case 'l': ip_binding = strdup(optarg); break; case 'p': port_listening = atoi(optarg); if (port_listening == 0) { printf(">> invalid port : %s\n", optarg); exit(1); } break; case 'f': data_file = strdup(optarg); break; case 'd': g_delay = atoi(optarg); break; case 'q': g_quiet = 1; break; case 'h': usage(); return 1; } } printf(">> IP listening:%s\n", ip_binding); printf(">> port: %d\n", port_listening); printf(">> data_file: %s\n", data_file); printf(">> reponse delay(MS): %d\n", g_delay); printf(">> quite:%d\n",g_quiet); if (NULL == data_file || strlen(data_file) == 0) { printf("\033[31m-data file is needed!~ \033[0m\n"); usage(); return 1; } g_logger = fopen("stub.log", "a"); if (g_logger ==NULL) { perror("create log file stub.log failed."); exit(1); } data_from_file = load_data(data_file); signal(SIGPIPE, SIG_IGN); signal(SIGINT, exit_hook); signal(SIGKILL, exit_hook); signal(SIGQUIT, exit_hook); signal(SIGTERM, exit_hook); signal(SIGHUP, exit_hook); for(i=0;i<WORKER_COUNT;i++){ if(pipe(g_pipe[i])<0){ perror("failed to create pipe"); exit(1); } } listen_fd = socket(AF_INET, SOCK_STREAM, 0); if (-1 == listen_fd) { perror("listen faild!"); exit(-1); } setsockopt(listen_fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); setsockopt(listen_fd, IPPROTO_TCP, TCP_NODELAY, (int[]) {1}, sizeof(int)); setsockopt(listen_fd, IPPROTO_TCP, TCP_QUICKACK, (int[]) {1}, sizeof(int)); memset(&server_addr, 0, sizeof(server_addr)); server_addr.sin_family = AF_INET; server_addr.sin_port = htons((short)port_listening); server_addr.sin_addr.s_addr = inet_addr(ip_binding); if (-1 == bind(listen_fd, (struct sockaddr *)&server_addr, sizeof(server_addr))) { perror("bind error"); exit(-1); } if (-1 == listen(listen_fd, 32)) { perror("listen error"); exit(-1); } for(i=0;i<worker_count;i++){ ep_fd[i] = epoll_create(MAX_EPOLL_FD); if(ep_fd[i]<0){ perror("epoll_create failed."); exit(-1); } } for(i=0;i<worker_count;i++){ pthread_attr_init(tattr+i); pthread_attr_setdetachstate(tattr+i, PTHREAD_CREATE_JOINABLE); tdata[i].data_from_file = data_from_file; tdata[i].myep_fd = ep_fd[i]; tdata[i].mypipe_fd = g_pipe[i][0]; if (pthread_create(tid+i, tattr+i, handle_io_loop, tdata+i ) != 0) { fprintf(stderr, "pthread_create failed\n"); return -1; } } while(1){ if ((client_fd = accept(listen_fd, (struct sockaddr *)&client_addr, &client_n)) > 0) { if(write(g_pipe[worker_pointer][1],(char*)&client_fd,4)<0){ perror("failed to write pipe"); exit(1); } inet_ntop(AF_INET, &client_addr.sin_addr, ip_buf, sizeof(ip_buf)); httpstub_log("[CONN]Connection from %s", ip_buf); worker_pointer++; if(worker_pointer == worker_count) worker_pointer=0; } else if(errno == EBADF && g_shutdown_flag){ break; } else{ if(0 == g_shutdown_flag){ perror("please check ulimit -n"); sleep(1); } } } free(data_from_file.begin); for(i=0; i< worker_count; i++){ close(ep_fd[i]); } if(client_fd<0 && 0==g_shutdown_flag){ perror("Accep failed, try ulimit -n"); httpstub_log("[ERROR]too many fds open, try ulimit -n"); g_shutdown_flag = 1; } fclose(g_logger); printf(">> [%d]waiting worker thread....\n",getpid()); for(i=0; i< worker_count; i++) pthread_join(tid[i], NULL); printf(">> [%d]Bye~\n",getpid()); return 0; } static void destroy_fd(int myep_fd, int client_fd, struct io_data_t *data_ptr, int case_no) { struct epoll_event ev; ev.data.ptr = data_ptr; epoll_ctl(myep_fd, EPOLL_CTL_DEL, client_fd, &ev); shutdown(client_fd, SHUT_RDWR); close(client_fd); destroy_io_data(data_ptr); httpstub_log("[DEBUG] close case %d",case_no); } static void httpstub_log(const char *fmt, ...) { if(0 == g_quiet){ char msg[4096]; char buf[64]; time_t now = time(NULL); va_list ap; va_start(ap, fmt); vsnprintf(msg, sizeof(msg), fmt, ap); va_end(ap); strftime(buf, sizeof(buf), "%d %b %H:%M:%S", localtime(&now)); fprintf(g_logger, "[%d] %s %s\n", (int)getpid(), buf, msg); fflush(g_logger); } } static void handle_output(int myep_fd, struct io_data_t *client_io_ptr) { int cfd, ret, case_no; struct epoll_event ev; cfd = client_io_ptr->fd; ret = send(cfd, client_io_ptr->out_buf + client_io_ptr->out_buf_cur, client_io_ptr->out_buf_total - client_io_ptr->out_buf_cur, MSG_NOSIGNAL); if (ret >= 0) client_io_ptr->out_buf_cur += ret; httpstub_log("[DEBUG]out_buf_cur %d", client_io_ptr->out_buf_cur); httpstub_log("[DEBUG]out_buf_total %d", client_io_ptr->out_buf_total); //printf("ret:%d\n",ret); //printf("errno:%d\n", errno); if (0 == ret || (ret < 0 && errno != EAGAIN && errno != EWOULDBLOCK)) { //printf("loose 2\n"); case_no = 2; //perror("send"); //printf("cfd: %d\n", cfd); destroy_fd(myep_fd, cfd, client_io_ptr, case_no); return; } if (client_io_ptr->out_buf_cur == client_io_ptr->out_buf_total) { //have sent all httpstub_log("[NOTICE] all messages have been sent.(%d bytes)", client_io_ptr->out_buf_total); //printf("alive: %d\n", client_io_ptr->keep_alive); if (client_io_ptr->version == HTTP_1_0 && 0 == client_io_ptr->keep_alive) { case_no = 4; destroy_fd(myep_fd, cfd, client_io_ptr, case_no); return; } ev.data.ptr = client_io_ptr; ev.events = EPOLLIN; epoll_ctl(myep_fd, EPOLL_CTL_MOD, cfd, &ev); } } static void handle_input(int myep_fd, struct io_data_t *client_io_ptr, struct slice_t data_from_file, const char *rsps_msg_fmt, int delay) { int npos = 0; int total = 0; int ret = 0; int case_no = 0; char headmsg[256]; char *sep = NULL; const char *CRLF = "\r\n\r\n"; const char *LF = "\n\n"; const char *sep_flag=NULL; struct epoll_event ev; int cfd = client_io_ptr->fd; int pkg_len = 0; assert(client_io_ptr->in_buf_cur >= 0); ret = recv(cfd, client_io_ptr->in_buf + client_io_ptr->in_buf_cur, 512, MSG_DONTWAIT); //printf("%u\n",(unsigned int)pthread_self()); if (0 == ret || (ret < 0 && errno != EAGAIN && errno != EWOULDBLOCK)) { case_no = 1; //perror("++++++++"); destroy_fd(myep_fd, cfd, client_io_ptr, case_no); return; } client_io_ptr->in_buf_cur += ret; client_io_ptr->in_buf[client_io_ptr->in_buf_cur] = '\0'; sep = strstr(client_io_ptr->in_buf, CRLF); if (NULL == sep) { sep = strstr(client_io_ptr->in_buf, LF); if (NULL == sep) return; else sep_flag = LF; } else { sep_flag = CRLF; } if (strstr(client_io_ptr->in_buf, "GET ") == client_io_ptr->in_buf) { if (strstr(client_io_ptr->in_buf, "HTTP/1.0") != NULL) { client_io_ptr->version = HTTP_1_0; if (NULL == strstr(client_io_ptr->in_buf, "Connection: Keep-Alive")) { client_io_ptr->keep_alive = 0; } } else { client_io_ptr->version = HTTP_1_1; } } npos = strcspn(client_io_ptr->in_buf, "\r\n"); if (npos > 250) npos = 250; memcpy(headmsg, client_io_ptr->in_buf, npos); headmsg[npos] = '\0'; httpstub_log("[RECV] %s ", headmsg); pkg_len = sep - client_io_ptr->in_buf + strlen(sep_flag); assert(pkg_len >= 0); assert(client_io_ptr->in_buf_cur - pkg_len >= 0); memmove(client_io_ptr->in_buf, sep + strlen(sep_flag), client_io_ptr->in_buf_cur - pkg_len); client_io_ptr->in_buf_cur -= pkg_len; client_io_ptr->out_buf_cur = 0; total = snprintf(client_io_ptr->out_buf, MAX_BUF_SIZE, rsps_msg_fmt, data_from_file.size); memcpy(client_io_ptr->out_buf + total, data_from_file.begin, data_from_file.size); total += data_from_file.size; httpstub_log("[DEBUG]total:%d", total); client_io_ptr->out_buf_total = total; ev.data.ptr = client_io_ptr; ev.events = EPOLLOUT; epoll_ctl(myep_fd, EPOLL_CTL_MOD, cfd, &ev); if (delay > 0) { //printf("usleep: %d\n",(int)(g_delay*2000/nfds) ); usleep(delay); } } static void * handle_io_loop(void *param) { register int i; int cfd, nfds, case_no, new_sock_fd; struct epoll_event events[MAX_EPOLL_FD],ev; const char *rsps_msg_fmt = "HTTP/1.1 200 OK\r\nContent-Length: %d\r\nConnection: Keep-Alive\r\nContent-Type: text/plain\r\n\r\n"; struct io_data_t *client_io_ptr; struct thread_data_t my_tdata = *(struct thread_data_t*)param; ev.data.fd = my_tdata.mypipe_fd; ev.events = EPOLLIN; epoll_ctl(my_tdata.myep_fd,EPOLL_CTL_ADD,my_tdata.mypipe_fd,&ev); while (1) { nfds = epoll_wait(my_tdata.myep_fd, events, MAX_EPOLL_FD, 1000); //printf("nfds:%d, epoll fd:%d\n",nfds,my_tdata.myep_fd); if(nfds<=0 && 0!=g_shutdown_flag){ break; } for (i = 0; i < nfds && nfds>0; i++) { if( (events[i].data.fd == my_tdata.mypipe_fd) && (events[i].events & EPOLLIN)){ if(read(my_tdata.mypipe_fd,&new_sock_fd,4)==-1){ perror("faild to read pipe"); exit(1); } setnonblocking(new_sock_fd); ev.data.ptr = alloc_io_data(new_sock_fd, (struct sockaddr_in *)NULL); ev.events = EPOLLIN; epoll_ctl(my_tdata.myep_fd, EPOLL_CTL_ADD, new_sock_fd, &ev); continue; } client_io_ptr = (struct io_data_t *)events[i].data.ptr; if(client_io_ptr->fd<=0) continue; if (events[i].events & EPOLLIN) { handle_input(my_tdata.myep_fd, client_io_ptr, my_tdata.data_from_file, rsps_msg_fmt, (int)(g_delay * 1000 / nfds)); } else if (events[i].events & EPOLLOUT) { handle_output(my_tdata.myep_fd, client_io_ptr); } else if (events[i].events & EPOLLERR) { cfd = client_io_ptr->fd; case_no = 3; destroy_fd(my_tdata.myep_fd, cfd, client_io_ptr, case_no); } } } return NULL; }
the_stack_data/154956.c
/* Grenais https://www.urionlinejudge.com.br/judge/pt/problems/view/1131 */ #include <stdio.h> int main (void) { int vitoriasDoInter = 0, vitoriasDoGremio = 0, empates = 0; int golsDoInter, golsDoGremio; int novoGrenal; do { scanf("%d %d\n", &golsDoInter, &golsDoGremio); if (golsDoInter == golsDoGremio) { empates++; } else if (golsDoInter > golsDoGremio) { vitoriasDoInter++; } else { vitoriasDoGremio++; } printf("Novo grenal (1-sim 2-nao)\n"); scanf("%d\n", &novoGrenal); } while (novoGrenal == 1); printf("%d grenais\n", vitoriasDoInter + vitoriasDoGremio + empates); printf("Inter:%d\n", vitoriasDoInter); printf("Gremio:%d\n", vitoriasDoGremio); printf("Empates:%d\n", empates); if (vitoriasDoInter == vitoriasDoGremio) { printf("Nao houve vencedor\n"); } else if (vitoriasDoInter > vitoriasDoGremio) { printf("Inter venceu mais\n"); } else { printf("Gremio venceu mais\n"); } return 0; }
the_stack_data/252675.c
#include <stdio.h> #define IN 1 #define OUT 0 int main(){ int c, nw, state; nw = 0; state = OUT; while ((c= getchar()) !=EOF){ if (c == ' ' || c == '\n'){ state = OUT; } else if ( state == OUT){ state = IN; ++nw; } printf ("Количество слов:%d\n", nw); } }
the_stack_data/275133.c
/* * $Id$ * * Copyright (C) 2003 Pascal Brisset, Antoine Drouin * * This file is part of paparazzi. * * paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * paparazzi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with paparazzi; see the file COPYING. If not, write to * the Free Software Foundation, 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. * */ /** \file main.c * \brief Regroup main functions * */ /* --- stuff pulled in from other files ---- sanjit */ // timer.h mostly #define TCCR1A 0x00 /* sanjit guess from other files */ #define TCCR1B 0x01 /* sanjit guess from other files */ #define TCCR2 0x05 /* sanjit guess from other files */ #define TCNT1 0x1 /* sanjit BIG guess */ #define TCNT1L 0x1 /* sanjit BIG guess */ #define TIFR 0x1 /* sanjit BIG guess */ #define TOV2 0x1 /* sanjit BIG guess */ /*--------------------------------------------- sanjit */ /* #include "link_autopilot.h" //sanjit #include "timer.h" #include "adc.h" #include "pid.h" #include "gps.h" #include "infrared.h" // sanjit #include "downlink.h" #include "nav.h" #include "autopilot.h" #include "estimator.h" #include "if_calib.h" */ /**** similar stuff as for cctask below ------------- */ #define PPRZ_MODE_MANUAL 0 #define PPRZ_MODE_AUTO1 1 #define PPRZ_MODE_AUTO2 2 #define PPRZ_MODE_HOME 3 #define PPRZ_MODE_NB 4 #define TRIM_PPRZ(pprz) (pprz < MIN_PPRZ ? MIN_PPRZ : \ (pprz > MAX_PPRZ ? MAX_PPRZ : \ pprz)) #define TRIM_UPPRZ(pprz) (pprz < 0 ? 0 : \ (pprz > MAX_PPRZ ? MAX_PPRZ : \ pprz)) /* from autopilot.h ends */ /* from include/std.h */ #define FALSE 0 #define TRUE (!FALSE) /* include/std.h */ #define NAV_PITCH 0 /* from var/....h */ /* added by sanjit */ typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef unsigned char bool_t; /* sanjit add ends */ /* from sw/var/include/airframe.h */ #define ROLL_PGAIN 10000. #define PITCH_OF_ROLL 0.0 #define PITCH_PGAIN 15000. #define MAX_ROLL 0.35 #define MAX_PITCH 0.35 #define MIN_PITCH -0.35 #define CLIMB_PITCH_PGAIN -0.1 #define CLIMB_PITCH_IGAIN 0.025 #define CLIMB_PGAIN -0.03 #define CLIMB_IGAIN 0.1 #define CLIMB_MAX 1. #define CLIMB_LEVEL_GAZ 0.31 #define CLIMB_PITCH_OF_VZ_PGAIN 0.05 #define CLIMB_GAZ_OF_CLIMB 0.2 /* airframe.h */ #define VERTICAL_MODE_MANUAL 0 #define VERTICAL_MODE_AUTO_GAZ 1 #define VERTICAL_MODE_AUTO_CLIMB 2 #define VERTICAL_MODE_AUTO_ALT 3 #define VERTICAL_MODE_NB 4 #define MAX_CLIMB_SUM_ERR 100 #define MAX_PITCH_CLIMB_SUM_ERR 100 /*---- from fly_by_wire/link_autopilot.h */ /* * System clock in MHz. */ #define CLOCK 16 /* !!!!!!!!!!!!!!!!!!! Value used in gen_airframe.ml !!!!!!!!!!!!!!!!! */ #define MAX_PPRZ (600 * CLOCK) #define MIN_PPRZ -MAX_PPRZ /* --- fly_by_wire/link_autopilot.h */ /* from main.c */ // defined below uint8_t pprz_mode; // defined below uint8_t vertical_mode = VERTICAL_MODE_MANUAL; // static bool_t low_battery = FALSE; /* end of stuff from main.c */ #define ALTITUDE_PGAIN -0.025 #define LATERAL_MODE_MANUAL 0 uint16_t nav_desired_gaz; uint16_t estimator_flight_time; //bool_t launch = FALSE; float nav_pitch = NAV_PITCH; float estimator_z_dot; //bool_t auto_pitch = FALSE; /* below vars from pid.c (mostly) */ //float desired_roll = 0.; //float desired_pitch = 0.; int16_t desired_gaz, desired_aileron, desired_elevator; //float roll_pgain = ROLL_PGAIN; //float pitch_pgain = PITCH_PGAIN; //float pitch_of_roll = PITCH_OF_ROLL; //float pitch_of_vz_pgain = CLIMB_PITCH_OF_VZ_PGAIN; //float pitch_of_vz = 0.; const float climb_pgain = CLIMB_PGAIN; const float climb_igain = CLIMB_IGAIN; // defined below float desired_climb = 0., pre_climb = 0.; static const float level_gaz = CLIMB_LEVEL_GAZ; float climb_sum_err = 0; float climb_pitch_pgain = CLIMB_PITCH_PGAIN; float climb_pitch_igain = CLIMB_PITCH_IGAIN; float climb_pitch_sum_err = 0.; float max_pitch = MAX_PITCH; float min_pitch = MIN_PITCH; /**** similar stuff as for cctask above ------------- */ #define IR_ESTIM_MODE_ON 1 #define IR_ROLL_NEUTRAL_DEFAULT -915 #define IR_PITCH_NEUTRAL_DEFAULT 110 #define AV_NB_SAMPLE 0x20 // from radio.h, airframe.h #define RADIO_CTL_NB 9 #define RADIO_CTL_D 0 #define RADIO_THROTTLE RADIO_CTL_D #define RADIO_CTL_C 1 #define RADIO_ROLL RADIO_CTL_C #define RADIO_CTL_B 2 #define RADIO_PITCH RADIO_CTL_B #define RADIO_CTL_E 5 #define RADIO_GAIN1 RADIO_CTL_E #define IR_RollOfIrs(x1,x2) (-1*(x1)+ -1*(x2)) #define IR_PitchOfIrs(x1,x2) (-1*(x1)+ 1*(x2)) struct inter_mcu_msg { int16_t channels[RADIO_CTL_NB]; uint8_t ppm_cpt; uint8_t status; uint8_t nb_err; uint8_t vsupply; /* 1e-1 V */ }; // // // FIXME estimator_flight_time should not be manipuled here anymore // /** Define minimal speed for takeoff in m/s */ #define MIN_SPEED_FOR_TAKEOFF 5. uint8_t fatal_error_nb = 0; static const uint16_t version = 1; /** in seconds */ static uint16_t cputime = 0; uint8_t pprz_mode = PPRZ_MODE_MANUAL; uint8_t vertical_mode = VERTICAL_MODE_MANUAL; uint8_t lateral_mode = LATERAL_MODE_MANUAL; uint8_t ir_estim_mode = IR_ESTIM_MODE_ON; bool_t auto_pitch = FALSE; bool_t rc_event_1, rc_event_2; uint8_t vsupply; static uint8_t mcu1_status, mcu1_ppm_cpt; static bool_t low_battery = FALSE; float slider_1_val, slider_2_val; bool_t launch = FALSE; #define Min(x, y) (x < y ? x : y) #define Max(x, y) (x > y ? x : y) #define NO_CALIB 0 /**< \enum No calibration state */ #define WAITING_CALIB_CONTRAST 1 /**< \enum Waiting calibration contrast state */ #define CALIB_DONE 2 /**< \enum Calibration done state */ /** Maximal delay for calibration */ #define MAX_DELAY_FOR_CALIBRATION 10 #ifdef EST_TEST float est_pos_x; float est_pos_y; float est_fcourse; uint8_t ticks_last_est; // 20Hz #endif /* EST_TEST */ /* called at 20Hz. sends a serie of initialisation messages followed by a stream of periodic ones */ /** Define number of message at initialisation */ #define INIT_MSG_NB 2 /** @@@@@ A FIXER @@@@ */ #define HI_FREQ_PHASE_NB 5 //static char signature[16] = MESSAGES_MD5SUM; /** \def PERIODIC_SEND_BAT() * @@@@@ A FIXER @@@@@ */ #define PERIODIC_SEND_BAT() DOWNLINK_SEND_BAT(&vsupply, &estimator_flight_time, &low_battery, &block_time, &stage_time) /** \def EventPos(_cpt, _channel, _event) * @@@@@ A FIXER @@@@@ */ #define PERIODIC_SEND_DEBUG() DOWNLINK_SEND_DEBUG(&link_fbw_nb_err, &link_fbw_fbw_nb_err, &modem_nb_ovrn, &gps_nb_ovrn, &mcu1_ppm_cpt); /** \def EventPos(_cpt, _channel, _event) * @@@@@ A FIXER @@@@@ */ #define PERIODIC_SEND_ATTITUDE() DOWNLINK_SEND_ATTITUDE(&estimator_phi, &estimator_psi, &estimator_theta); /** \def EventPos(_cpt, _channel, _event) * @@@@@ A FIXER @@@@@ */ #define PERIODIC_SEND_ADC() DOWNLINK_SEND_ADC(&ir_roll, &ir_pitch); /** \def EventPos(_cpt, _channel, _event) * @@@@@ A FIXER @@@@@ */ #define PERIODIC_SEND_STABILISATION() DOWNLINK_SEND_STABILISATION(&roll_pgain, &pitch_pgain); #define PERIODIC_SEND_CLIMB_PID() DOWNLINK_SEND_CLIMB_PID(&desired_gaz, &desired_climb, &climb_sum_err, &climb_pgain); #define PERIODIC_SEND_PPRZ_MODE() DOWNLINK_SEND_PPRZ_MODE(&pprz_mode, &vertical_mode, &inflight_calib_mode, &mcu1_status, &ir_estim_mode); #define PERIODIC_SEND_DESIRED() DOWNLINK_SEND_DESIRED(&desired_roll, &desired_pitch, &desired_x, &desired_y, &desired_altitude); #define PERIODIC_SEND_PITCH() DOWNLINK_SEND_PITCH(&ir_pitch, &ir_pitch_neutral, &ir_gain); #define PERIODIC_SEND_NAVIGATION_REF() DOWNLINK_SEND_NAVIGATION_REF(&utm_east0, &utm_north0); #ifdef RADIO_CALIB #define PERIODIC_SEND_SETTINGS() if (inflight_calib_mode != IF_CALIB_MODE_NONE) DOWNLINK_SEND_SETTINGS(&inflight_calib_mode, &slider_1_val, &slider_2_val); #else #define PERIODIC_SEND_SETTINGS() #endif #define PERIOD (256. * 1024. / CLOCK / 1000000.) /** Maximum time allowed for low battery level */ #define LOW_BATTERY_DELAY 5 /*====================================================================*/ struct adc_buf { uint16_t sum; uint16_t values[AV_NB_SAMPLE]; uint8_t head; }; static struct adc_buf buf_ir1; static struct adc_buf buf_ir2; #define EstimatorIrGainIsCorrect() (TRUE) float desired_roll = 0.; float desired_pitch = 0.; int16_t desired_gaz, desired_aileron, desired_elevator; float roll_pgain = ROLL_PGAIN; float pitch_pgain = PITCH_PGAIN; float pitch_of_roll = PITCH_OF_ROLL; float pitch_of_vz_pgain = CLIMB_PITCH_OF_VZ_PGAIN; float pitch_of_vz = 0.; /*--------------- variable defs pulled from other files -----------------------------------*/ /* infrared.c: */ int16_t ir_roll; int16_t ir_roll_neutral = IR_ROLL_NEUTRAL_DEFAULT; int16_t ir_pitch; int16_t ir_pitch_neutral = IR_PITCH_NEUTRAL_DEFAULT; /* estimator.c: */ float estimator_rad_of_ir, estimator_ir, estimator_rad; float ir_rad_of_ir; float rad_of_ir; float estimator_phi, estimator_theta; /* link_fbw.c: */ struct inter_mcu_msg to_fbw; /*--------------- variable defs pulled from other files [above] --------------------------------*/ void stabilisation_task(void) { /* ---- inlined below: ir_update(); ---- */ // #ifndef SIMUL int16_t x1_mean = buf_ir1.sum/AV_NB_SAMPLE; int16_t x2_mean = buf_ir2.sum/AV_NB_SAMPLE; /* simplesclar cannot have type decls in the middle of the func */ float rad_of_ir, err, tmp_sanjit; ir_roll = IR_RollOfIrs(x1_mean, x2_mean) - ir_roll_neutral; ir_pitch = IR_PitchOfIrs(x1_mean, x2_mean) - ir_pitch_neutral; /* #else extern volatile int16_t simul_ir_roll, simul_ir_pitch; ir_roll = simul_ir_roll - ir_roll_neutral; ir_pitch = simul_ir_pitch - ir_pitch_neutral; #endif */ /* ---- inlined below estimator_update_state_infrared(); ---- */ rad_of_ir = (ir_estim_mode == IR_ESTIM_MODE_ON && EstimatorIrGainIsCorrect()) ? estimator_rad_of_ir : ir_rad_of_ir; estimator_phi = rad_of_ir * ir_roll; estimator_theta = rad_of_ir * ir_pitch; /* --- inlined below roll_pitch_pid_run(); // Set desired_aileron & desired_elevator ---- */ err = estimator_phi - desired_roll; desired_aileron = TRIM_PPRZ(roll_pgain * err); if (pitch_of_roll <0.) pitch_of_roll = 0.; /* line below commented out by sanjit, to avoid use of fabs err = -(estimator_theta - desired_pitch - pitch_of_roll * fabs(estimator_phi)); 2 replacement lines are below */ tmp_sanjit = (estimator_phi < 0) ? -estimator_phi : estimator_phi; err = -(estimator_theta - desired_pitch - pitch_of_roll * tmp_sanjit); desired_elevator = TRIM_PPRZ(pitch_pgain * err); /* --- end inline ---- */ to_fbw.channels[RADIO_THROTTLE] = desired_gaz; // desired_gaz is set upon GPS message reception to_fbw.channels[RADIO_ROLL] = desired_aileron; #ifndef ANTON_T7 to_fbw.channels[RADIO_PITCH] = desired_elevator; #endif // Code for camera stabilization, FIXME put that elsewhere to_fbw.channels[RADIO_GAIN1] = TRIM_PPRZ(MAX_PPRZ/0.75*(-estimator_phi)); } int main() { ir_estim_mode = 0; roll_pgain = 0; pitch_of_roll = 0; /* stuff below makes estimator_phi = 1 */ buf_ir1.sum = AV_NB_SAMPLE; buf_ir2.sum = -AV_NB_SAMPLE; ir_roll_neutral = 1; ir_rad_of_ir = -1; /* makes estimator_phi = 1 */ pitch_pgain = 0; stabilisation_task(); #ifdef PRET asm(".word 0x22222222"); #endif }
the_stack_data/43888846.c
/*** * This code is a part of EvoApproxLib library (ehw.fit.vutbr.cz/approxlib) distributed under The MIT License. * When used, please cite the following article(s): V. Mrazek, R. Hrbacek, Z. Vasicek and L. Sekanina, "EvoApprox8b: Library of approximate adders and multipliers for circuit design and benchmarking of approximation methods". Design, Automation & Test in Europe Conference & Exhibition (DATE), 2017, Lausanne, 2017, pp. 258-261. doi: 10.23919/DATE.2017.7926993 * This file contains a circuit from a sub-set of pareto optimal circuits with respect to the pwr and mre parameters ***/ // MAE% = 24.81 % // MAE = 16256 // WCE% = 99.22 % // WCE = 65025 // WCRE% = 100.00 % // EP% = 99.22 % // MRE% = 100.00 % // MSE = 47164.981e4 // PDK45_PWR = 0.000 mW // PDK45_AREA = 0.0 um2 // PDK45_DELAY = 0.00 ns #include <stdint.h> #include <stdlib.h> uint64_t mul8u_E9R(const uint64_t B,const uint64_t A) { uint64_t O; int avg=0; O = 0; O |= (0&1) << 0; O |= (0&1) << 1; O |= (0&1) << 2; O |= (0&1) << 3; O |= (0&1) << 4; O |= (0&1) << 5; O |= (0&1) << 6; O |= (0&1) << 7; O |= (0&1) << 8; O |= (0&1) << 9; O |= (0&1) << 10; O |= (0&1) << 11; O |= (0&1) << 12; O |= (0&1) << 13; O |= (0&1) << 14; O |= (0&1) << 15; return O; }
the_stack_data/6387338.c
#include <unistd.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #include <stdlib.h> static int write_stdout(const char *token, int length) { int rc; int bytes_written = 0; do { rc = write(1, token + bytes_written, length - bytes_written); if (rc < 0) return rc; bytes_written += rc; } while (bytes_written < length); return bytes_written; } void reverseString(char *s,int length) { int start = 0; int end = length - 1; char temp; while(start < end) { temp = s[start]; s[start] = s[end]; s[end] = temp; start++; end--; } } char *myItoa(int n,char *s,int base) { int i = 0; int is_negative = 0; //0 case if(n == 0) { s[i++] = '0'; s[i] = '\0'; return s; } //check if negative if(n < 0) { is_negative = 1; n = -n; } //process each digit while (n != 0) { int rem = n % base; s[i++] = (rem > 9)? (rem-10) + 'a' : rem + '0'; n = n / base; } //add '-' if(is_negative == 1) s[i++] = '-'; s[i] = '\0'; //reverse string reverseString(s,i); return s; } int iocla_printf(const char *format, ...) { /* TODO */ FILE *out = fopen("printf","wt"); va_list args; va_start(args,format); int i; int d; unsigned int u; char c; char *s = calloc(strlen(format),sizeof(char));//used to print strings char *s_1 = calloc(strlen(format),sizeof(char));//used to print numbers int characters_printed = 0; for(i = 0; format[i] != '\0'; i++) { //check for '%' and find out the specifer if(format[i] == '%') { if(format[i+1] == 'd') { d = va_arg(args,int); write_stdout(myItoa(d,s_1,10),strlen(myItoa(d,s_1,10))); characters_printed += strlen(myItoa(d,s_1,10)); } if(format[i+1] == 'u') { u = va_arg(args,unsigned int); write_stdout(myItoa(u,s_1,10),strlen(myItoa(u,s_1,10))); characters_printed += strlen(myItoa(u,s_1,10)); } if(format[i+1] == 'x') { u = va_arg(args,unsigned int); write_stdout(myItoa(u,s_1,16),strlen(myItoa(u,s_1,16))); characters_printed += strlen(myItoa(u,s_1,16)); } if(format[i+1] == 'c') { c = (char)va_arg(args,int); write_stdout(&c,1); characters_printed++; } if(format[i+1] == 's') { s = va_arg(args,char *); fprintf(out, "%s\n",s); write_stdout(s,strlen(s)); characters_printed += strlen(s); //s = NULL; } if(format[i+1] == '%') { char percent = '%'; write_stdout(&percent,1); characters_printed++; } i = i + 2; } write_stdout(&format[i],1); characters_printed++; } va_end(args); //free(s); free(s_1); return characters_printed; } int main() { iocla_printf("%s","ceva"); return 0; }
the_stack_data/87638148.c
#include<stdio.h> typedef enum { COUNT,POUNDS,PINTS } unit_of_measure; typedef union { short count; float weight; float volume; }quantity; typedef struct { const char *name; const char *country; quantity amount; unit_of_measure units; }fruit_order; void display (fruit_order order) { printf("This order contains "); if (order.units == PINTS) printf("%2.2f pints of %s\n",order.amount.volume,order.name); else if(order.units == POUNDS) printf("%2.2f lbs of %s\n",order.amount.weight,order.name); else printf("%i %s \n ",order.amount.count,order.name); } int main() { fruit_order apples = {"apples","England",.amount.count=144,COUNT}; fruit_order orange = {"Orange","India",.amount.weight=12.5,POUNDS}; fruit_order straw = {"Strawberries","INDIA",.amount.volume=123,PINTS}; puts("--------------------------------------------"); display(apples); puts("--------------------------------------------"); display(orange); puts("--------------------------------------------"); display(straw); puts("--------------------------------------------"); return 0; }
the_stack_data/243892480.c
/* ============================================================================ * Introduction to Operating Systems * CS 8803, GT OMSCS * * Unauthorized copying of this file, via any medium is strictly prohibited. * * "echo-client.c" * Implements the client for "The Echo Protocol" in Problem Set 1. ============================================================================ */ #include <netdb.h> #include <netinet/in.h> #include <stdio.h> #include <strings.h> #include <stdlib.h> #include <unistd.h> /* CONSTANTS =============================================================== */ #define SERVER_ADDR "localhost" #define SERVER_PORT 8888 #define BUFFER_SIZE 1024 #define MESSAGE "ramblin wreck" int main(int argc, char **argv) { int socket_fd = 0; struct sockaddr_in server_socket_addr; char buffer[BUFFER_SIZE]; // Converts localhost into 0.0.0.0 struct hostent *he = gethostbyname(SERVER_ADDR); unsigned long server_addr_nbo = *(unsigned long *)(he->h_addr_list[0]); // Create socket (IPv4, stream-based, protocol likely set to TCP) if (0 > (socket_fd = socket(AF_INET, SOCK_STREAM, 0))) { fprintf(stderr, "client failed to create socket\n"); exit(1); } // Configure server socket address structure (init to zero, IPv4, // network byte order for port and address) bzero(&server_socket_addr, sizeof(server_socket_addr)); server_socket_addr.sin_family = AF_INET; server_socket_addr.sin_port = htons(SERVER_PORT); server_socket_addr.sin_addr.s_addr = server_addr_nbo; // Connect socket to server if (0 > connect(socket_fd, (struct sockaddr *)&server_socket_addr, sizeof(server_socket_addr))) { fprintf(stderr, "client failed to connect to %s:%d!\n", SERVER_ADDR, SERVER_PORT); close(socket_fd); exit(1); } else { fprintf(stdout, "client connected to to %s:%d!\n", SERVER_ADDR, SERVER_PORT); } // Send echo message if (0 > send(socket_fd, MESSAGE, strlen(MESSAGE), 0)) { fprintf(stderr, "client failed to send echo message"); close(socket_fd); exit(1); } // Process response from server bzero(buffer, BUFFER_SIZE); if(0 > read(socket_fd, buffer, BUFFER_SIZE)) { fprintf(stderr, "client could not read response from server\n"); close(socket_fd); exit(1); } else { fprintf(stdout, "echo from server: %s\n", buffer); } // Close the socket and return the response length (in bytes) close(socket_fd); return 0; }
the_stack_data/330299.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> unsigned char *read_buffer(char *file_name, size_t *size_ptr) { FILE *f; unsigned char *buf; size_t size; /* Open file */ f = fopen(file_name, "rb"); if (!f) return NULL; /* Obtain file size */ fseek(f, 0, SEEK_END); size = ftell(f); fseek(f, 0, SEEK_SET); /* Allocate and read buffer */ buf = malloc(size + 1); fread(buf, 1, size, f); buf[size] = '\0'; /* Return size of buffer */ if (size_ptr) *size_ptr = size; /* Return buffer */ return buf; } void write_buffer(char *file_name, const char *buffer, size_t buffer_size) { FILE *f; /* Open file */ f = fopen(file_name, "w+"); /* Write buffer */ if(buffer) fwrite(buffer, 1, buffer_size, f); /* Close file */ fclose(f); } int main(int argc, char const *argv[]) { /* Get platform */ cl_platform_id platform; cl_uint num_platforms; cl_int ret = clGetPlatformIDs(1, &platform, &num_platforms); if (ret != CL_SUCCESS) { printf("error: call to 'clGetPlatformIDs' failed\n"); exit(1); } printf("Number of platforms: %d\n", num_platforms); printf("platform=%p\n", platform); /* Get platform name */ char platform_name[100]; ret = clGetPlatformInfo(platform, CL_PLATFORM_NAME, sizeof(platform_name), platform_name, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clGetPlatformInfo' failed\n"); exit(1); } printf("platform.name='%s'\n\n", platform_name); /* Get device */ cl_device_id device; cl_uint num_devices; ret = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 1, &device, &num_devices); if (ret != CL_SUCCESS) { printf("error: call to 'clGetDeviceIDs' failed\n"); exit(1); } printf("Number of devices: %d\n", num_devices); printf("device=%p\n", device); /* Get device name */ char device_name[100]; ret = clGetDeviceInfo(device, CL_DEVICE_NAME, sizeof(device_name), device_name, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clGetDeviceInfo' failed\n"); exit(1); } printf("device.name='%s'\n", device_name); printf("\n"); /* Create a Context Object */ cl_context context; context = clCreateContext(NULL, 1, &device, NULL, NULL, &ret); if (ret != CL_SUCCESS) { printf("error: call to 'clCreateContext' failed\n"); exit(1); } printf("context=%p\n", context); /* Create a Command Queue Object*/ cl_command_queue command_queue; command_queue = clCreateCommandQueue(context, device, 0, &ret); if (ret != CL_SUCCESS) { printf("error: call to 'clCreateCommandQueue' failed\n"); exit(1); } printf("command_queue=%p\n", command_queue); printf("\n"); /* Program source */ unsigned char *source_code; size_t source_length; /* Read program from 'multiply_char4char4.cl' */ source_code = read_buffer("multiply_char4char4.cl", &source_length); /* Create a program */ cl_program program; program = clCreateProgramWithSource(context, 1, (const char **)&source_code, &source_length, &ret); if (ret != CL_SUCCESS) { printf("error: call to 'clCreateProgramWithSource' failed\n"); exit(1); } printf("program=%p\n", program); /* Build program */ ret = clBuildProgram(program, 1, &device, NULL, NULL, NULL); if (ret != CL_SUCCESS ) { size_t size; char *log; /* Get log size */ clGetProgramBuildInfo(program, device, CL_PROGRAM_BUILD_LOG,0, NULL, &size); /* Allocate log and print */ log = malloc(size); clGetProgramBuildInfo(program, device, CL_PROGRAM_BUILD_LOG,size, log, NULL); printf("error: call to 'clBuildProgram' failed:\n%s\n", log); /* Free log and exit */ free(log); exit(1); } printf("program built\n"); printf("\n"); /* Create a Kernel Object */ cl_kernel kernel; kernel = clCreateKernel(program, "multiply_char4char4", &ret); if (ret != CL_SUCCESS) { printf("error: call to 'clCreateKernel' failed\n"); exit(1); } /* Create and allocate host buffers */ size_t num_elem = 10; /* Create and init host side src buffer 0 */ cl_char4 *src_0_host_buffer; src_0_host_buffer = malloc(num_elem * sizeof(cl_char4)); for (int i = 0; i < num_elem; i++) src_0_host_buffer[i] = (cl_char4){{2, 2, 2, 2}}; /* Create and init device side src buffer 0 */ cl_mem src_0_device_buffer; src_0_device_buffer = clCreateBuffer(context, CL_MEM_READ_ONLY, num_elem * sizeof(cl_char4), NULL, &ret); if (ret != CL_SUCCESS) { printf("error: could not create source buffer\n"); exit(1); } ret = clEnqueueWriteBuffer(command_queue, src_0_device_buffer, CL_TRUE, 0, num_elem * sizeof(cl_char4), src_0_host_buffer, 0, NULL, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clEnqueueWriteBuffer' failed\n"); exit(1); } /* Create and init host side src buffer 1 */ cl_char4 *src_1_host_buffer; src_1_host_buffer = malloc(num_elem * sizeof(cl_char4)); for (int i = 0; i < num_elem; i++) src_1_host_buffer[i] = (cl_char4){{2, 2, 2, 2}}; /* Create and init device side src buffer 1 */ cl_mem src_1_device_buffer; src_1_device_buffer = clCreateBuffer(context, CL_MEM_READ_ONLY, num_elem * sizeof(cl_char4), NULL, &ret); if (ret != CL_SUCCESS) { printf("error: could not create source buffer\n"); exit(1); } ret = clEnqueueWriteBuffer(command_queue, src_1_device_buffer, CL_TRUE, 0, num_elem * sizeof(cl_char4), src_1_host_buffer, 0, NULL, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clEnqueueWriteBuffer' failed\n"); exit(1); } /* Create host dst buffer */ cl_char4 *dst_host_buffer; dst_host_buffer = malloc(num_elem * sizeof(cl_char4)); memset((void *)dst_host_buffer, 1, num_elem * sizeof(cl_char4)); /* Create device dst buffer */ cl_mem dst_device_buffer; dst_device_buffer = clCreateBuffer(context, CL_MEM_WRITE_ONLY, num_elem *sizeof(cl_char4), NULL, &ret); if (ret != CL_SUCCESS) { printf("error: could not create dst buffer\n"); exit(1); } /* Set kernel arguments */ ret = CL_SUCCESS; ret |= clSetKernelArg(kernel, 0, sizeof(cl_mem), &src_0_device_buffer); ret |= clSetKernelArg(kernel, 1, sizeof(cl_mem), &src_1_device_buffer); ret |= clSetKernelArg(kernel, 2, sizeof(cl_mem), &dst_device_buffer); if (ret != CL_SUCCESS) { printf("error: call to 'clSetKernelArg' failed\n"); exit(1); } /* Launch the kernel */ size_t global_work_size = num_elem; size_t local_work_size = num_elem; ret = clEnqueueNDRangeKernel(command_queue, kernel, 1, NULL, &global_work_size, &local_work_size, 0, NULL, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clEnqueueNDRangeKernel' failed\n"); exit(1); } /* Wait for it to finish */ clFinish(command_queue); /* Read results from GPU */ ret = clEnqueueReadBuffer(command_queue, dst_device_buffer, CL_TRUE,0, num_elem * sizeof(cl_char4), dst_host_buffer, 0, NULL, NULL); if (ret != CL_SUCCESS) { printf("error: call to 'clEnqueueReadBuffer' failed\n"); exit(1); } /* Dump dst buffer to file */ char dump_file[100]; sprintf((char *)&dump_file, "%s.result", argv[0]); write_buffer(dump_file, (const char *)dst_host_buffer, num_elem * sizeof(cl_char4)); printf("Result dumped to %s\n", dump_file); /* Free host dst buffer */ free(dst_host_buffer); /* Free device dst buffer */ ret = clReleaseMemObject(dst_device_buffer); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseMemObject' failed\n"); exit(1); } /* Free host side src buffer 0 */ free(src_0_host_buffer); /* Free device side src buffer 0 */ ret = clReleaseMemObject(src_0_device_buffer); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseMemObject' failed\n"); exit(1); } /* Free host side src buffer 1 */ free(src_1_host_buffer); /* Free device side src buffer 1 */ ret = clReleaseMemObject(src_1_device_buffer); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseMemObject' failed\n"); exit(1); } /* Release kernel */ ret = clReleaseKernel(kernel); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseKernel' failed\n"); exit(1); } /* Release program */ ret = clReleaseProgram(program); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseProgram' failed\n"); exit(1); } /* Release command queue */ ret = clReleaseCommandQueue(command_queue); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseCommandQueue' failed\n"); exit(1); } /* Release context */ ret = clReleaseContext(context); if (ret != CL_SUCCESS) { printf("error: call to 'clReleaseContext' failed\n"); exit(1); } return 0; }
the_stack_data/119901.c
// Copyright (c) 2013, Sergey Lyubka // Copyright (c) 2021-2021, The GNTL Project // Copyright (c) 2014-2020, The Monero Project // All rights reserved. // Released under the MIT license. // This program takes a list of files as an input, and produces C++ code that // contains the contents of all these files as a collection of strings. // // Usage: // 1. Compile this file: // cc -o generate-translations-header generate-translations-header.c // // 2. Convert list of files into single header: // ./generate-translations-header monero_fr.qm monero_it.qm > translations_files.h // // 3. In your application code, include translations_files.h, then you can // access the files using this function: // static bool find_embedded_file(const std::string &file_name, std::string &data); // std::string data; // find_embedded_file("monero_fr.qm", data); #include <stdio.h> #include <stdlib.h> static const char *code = "static bool find_embedded_file(const std::string &name, std::string &data) {\n" " const struct embedded_file *p;\n" " for (p = embedded_files; p->name != NULL; p++) {\n" " if (*p->name == name) {\n" " data = *p->data;\n" " return true;\n" " }\n" " }\n" " return false;\n" "}\n"; int main(int argc, char *argv[]) { FILE *fp, *foutput; int i, j, ch; if((foutput = fopen("translation_files.h", "w")) == NULL) { exit(EXIT_FAILURE); } fprintf(foutput, "#ifndef TRANSLATION_FILES_H\n"); fprintf(foutput, "#define TRANSLATION_FILES_H\n\n"); fprintf(foutput, "#include <string>\n\n"); for (i = 1; i < argc; i++) { if ((fp = fopen(argv[i], "rb")) == NULL) { exit(EXIT_FAILURE); } else { fprintf(foutput, "static const std::string translation_file_name_%d = \"%s\";\n", i, argv[i]); fprintf(foutput, "static const std::string translation_file_data_%d = std::string(", i); for (j = 0; (ch = fgetc(fp)) != EOF; j++) { if ((j % 16) == 0) { if (j > 0) { fprintf(foutput, "%s", "\""); } fprintf(foutput, "%s", "\n \""); } fprintf(foutput, "\\x%02x", ch); } fprintf(foutput, "\",\n %d);\n\n", j); fclose(fp); } } fprintf(foutput, "%s", "static const struct embedded_file {\n"); fprintf(foutput, "%s", " const std::string *name;\n"); fprintf(foutput, "%s", " const std::string *data;\n"); fprintf(foutput, "%s", "} embedded_files[] = {\n"); for (i = 1; i < argc; i++) { fprintf(foutput, " {&translation_file_name_%d, &translation_file_data_%d},\n", i, i); } fprintf(foutput, "%s", " {NULL, NULL}\n"); fprintf(foutput, "%s", "};\n\n"); fprintf(foutput, "%s\n", code); fprintf(foutput, "#endif /* TRANSLATION_FILES_H */\n"); fclose(foutput); return EXIT_SUCCESS; }
the_stack_data/62638547.c
#include <math.h> #include <stdint.h> float copysignf(float x, float y) { union { float f; uint32_t i; } ux = {x}, uy = {y}; ux.i &= 0x7fffffff; ux.i |= uy.i & 0x80000000; return ux.f; }
the_stack_data/154828626.c
/****************************************************************************** * * Copyright(c) 2007 - 2017 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * *****************************************************************************/ #if defined(CONFIG_MP_INCLUDED) #include <drv_types.h> #include <rtw_mp.h> #include <rtw_mp_ioctl.h> #include "../../hal/phydm/phydm_precomp.h" #if defined(CONFIG_RTL8723B) #include <rtw_bt_mp.h> #endif /* * Input Format: %s,%d,%d * %s is width, could be * "b" for 1 byte * "w" for WORD (2 bytes) * "dw" for DWORD (4 bytes) * 1st %d is address(offset) * 2st %d is data to write */ int rtw_mp_write_reg(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { char *pch, *pnext, *ptmp; char *width_str; char width, buf[5]; u32 addr, data; int ret; PADAPTER padapter = rtw_netdev_priv(dev); char input[wrqu->length + 1]; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; _rtw_memset(extra, 0, wrqu->length); pch = input; pnext = strpbrk(pch, " ,.-"); if (pnext == NULL) return -EINVAL; *pnext = 0; width_str = pch; pch = pnext + 1; pnext = strpbrk(pch, " ,.-"); if (pnext == NULL) return -EINVAL; *pnext = 0; /*addr = simple_strtoul(pch, &ptmp, 16); _rtw_memset(buf, '\0', sizeof(buf)); _rtw_memcpy(buf, pch, pnext-pch); ret = kstrtoul(buf, 16, &addr);*/ ret = sscanf(pch, "%x", &addr); if (addr > 0x3FFF) return -EINVAL; pch = pnext + 1; pnext = strpbrk(pch, " ,.-"); if ((pch - input) >= wrqu->length) return -EINVAL; /*data = simple_strtoul(pch, &ptmp, 16);*/ ret = sscanf(pch, "%x", &data); RTW_INFO("data=%x,addr=%x\n", (u32)data, (u32)addr); ret = 0; width = width_str[0]; switch (width) { case 'b': /* 1 byte*/ if (data > 0xFF) { ret = -EINVAL; break; } rtw_write8(padapter, addr, data); break; case 'w': /* 2 bytes*/ if (data > 0xFFFF) { ret = -EINVAL; break; } rtw_write16(padapter, addr, data); break; case 'd': /* 4 bytes*/ rtw_write32(padapter, addr, data); break; default: ret = -EINVAL; break; } return ret; } /* * Input Format: %s,%d * %s is width, could be * "b" for 1 byte * "w" for WORD (2 bytes) * "dw" for DWORD (4 bytes) * %d is address(offset) * * Return: * %d for data readed */ int rtw_mp_read_reg(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { char input[wrqu->length + 1]; char *pch, *pnext, *ptmp; char *width_str; char width; char data[20], tmp[20], buf[3]; u32 addr = 0, strtout = 0; u32 i = 0, j = 0, ret = 0, data32 = 0; PADAPTER padapter = rtw_netdev_priv(dev); char *pextra = extra; if (wrqu->length > 128) return -EFAULT; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; _rtw_memset(extra, 0, wrqu->length); _rtw_memset(data, '\0', sizeof(data)); _rtw_memset(tmp, '\0', sizeof(tmp)); pch = input; pnext = strpbrk(pch, " ,.-"); if (pnext == NULL) return -EINVAL; *pnext = 0; width_str = pch; pch = pnext + 1; ret = sscanf(pch, "%x", &addr); if (addr > 0x3FFF) return -EINVAL; ret = 0; width = width_str[0]; switch (width) { case 'b': data32 = rtw_read8(padapter, addr); RTW_INFO("%x\n", data32); sprintf(extra, "%d", data32); wrqu->length = strlen(extra); break; case 'w': /* 2 bytes*/ sprintf(data, "%04x\n", rtw_read16(padapter, addr)); for (i = 0 ; i <= strlen(data) ; i++) { if (i % 2 == 0) { tmp[j] = ' '; j++; } if (data[i] != '\0') tmp[j] = data[i]; j++; } pch = tmp; RTW_INFO("pch=%s", pch); while (*pch != '\0') { pnext = strpbrk(pch, " "); if (!pnext || ((pnext - tmp) > 4)) break; pnext++; if (*pnext != '\0') { /*strtout = simple_strtoul(pnext , &ptmp, 16);*/ ret = sscanf(pnext, "%x", &strtout); pextra += sprintf(pextra, " %d", strtout); } else break; pch = pnext; } wrqu->length = strlen(extra); break; case 'd': /* 4 bytes */ sprintf(data, "%08x", rtw_read32(padapter, addr)); /*add read data format blank*/ for (i = 0 ; i <= strlen(data) ; i++) { if (i % 2 == 0) { tmp[j] = ' '; j++; } if (data[i] != '\0') tmp[j] = data[i]; j++; } pch = tmp; RTW_INFO("pch=%s", pch); while (*pch != '\0') { pnext = strpbrk(pch, " "); if (!pnext) break; pnext++; if (*pnext != '\0') { ret = sscanf(pnext, "%x", &strtout); pextra += sprintf(pextra, " %d", strtout); } else break; pch = pnext; } wrqu->length = strlen(extra); break; default: wrqu->length = 0; ret = -EINVAL; break; } return ret; } /* * Input Format: %d,%x,%x * %d is RF path, should be smaller than MAX_RF_PATH_NUMS * 1st %x is address(offset) * 2st %x is data to write */ int rtw_mp_write_rf(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 path, addr, data; int ret; PADAPTER padapter = rtw_netdev_priv(dev); char input[wrqu->length]; _rtw_memset(input, 0, wrqu->length); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; ret = sscanf(input, "%d,%x,%x", &path, &addr, &data); if (ret < 3) return -EINVAL; if (path >= GET_HAL_RFPATH_NUM(padapter)) return -EINVAL; if (addr > 0xFF) return -EINVAL; if (data > 0xFFFFF) return -EINVAL; _rtw_memset(extra, 0, wrqu->length); write_rfreg(padapter, path, addr, data); sprintf(extra, "write_rf completed\n"); wrqu->length = strlen(extra); return 0; } /* * Input Format: %d,%x * %d is RF path, should be smaller than MAX_RF_PATH_NUMS * %x is address(offset) * * Return: * %d for data readed */ int rtw_mp_read_rf(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { char input[wrqu->length]; char *pch, *pnext, *ptmp; char data[20], tmp[20], buf[3]; u32 path, addr, strtou; u32 ret, i = 0 , j = 0; PADAPTER padapter = rtw_netdev_priv(dev); char *pextra = extra; if (wrqu->length > 128) return -EFAULT; _rtw_memset(input, 0, wrqu->length); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; ret = sscanf(input, "%d,%x", &path, &addr); if (ret < 2) return -EINVAL; if (path >= GET_HAL_RFPATH_NUM(padapter)) return -EINVAL; if (addr > 0xFF) return -EINVAL; _rtw_memset(extra, 0, wrqu->length); sprintf(data, "%08x", read_rfreg(padapter, path, addr)); /*add read data format blank*/ for (i = 0 ; i <= strlen(data) ; i++) { if (i % 2 == 0) { tmp[j] = ' '; j++; } tmp[j] = data[i]; j++; } pch = tmp; RTW_INFO("pch=%s", pch); while (*pch != '\0') { pnext = strpbrk(pch, " "); if (!pnext) break; pnext++; if (*pnext != '\0') { /*strtou =simple_strtoul(pnext , &ptmp, 16);*/ ret = sscanf(pnext, "%x", &strtou); pextra += sprintf(pextra, " %d", strtou); } else break; pch = pnext; } wrqu->length = strlen(extra); return 0; } int rtw_mp_start(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { int ret = 0; u8 val8; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct hal_ops *pHalFunc = &padapter->hal_func; rtw_pm_set_ips(padapter, IPS_NONE); LeaveAllPowerSaveMode(padapter); if (rtw_mi_check_fwstate(padapter, _FW_UNDER_SURVEY)) rtw_mi_scan_abort(padapter, _FALSE); if (rtw_mp_cmd(padapter, MP_START, RTW_CMDF_WAIT_ACK) != _SUCCESS) ret = -EPERM; _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "mp_start %s\n", ret == 0 ? "ok" : "fail"); wrqu->length = strlen(extra); return ret; } int rtw_mp_stop(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { int ret = 0; PADAPTER padapter = rtw_netdev_priv(dev); struct hal_ops *pHalFunc = &padapter->hal_func; if (rtw_mp_cmd(padapter, MP_STOP, RTW_CMDF_WAIT_ACK) != _SUCCESS) ret = -EPERM; _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "mp_stop %s\n", ret == 0 ? "ok" : "fail"); wrqu->length = strlen(extra); return ret; } int rtw_mp_rate(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 rate = MPT_RATE_1M; u8 input[wrqu->length + 1]; PADAPTER padapter = rtw_netdev_priv(dev); PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; rate = rtw_mpRateParseFunc(padapter, input); padapter->mppriv.rateidx = rate; if (rate == 0 && strcmp(input, "1M") != 0) { rate = rtw_atoi(input); padapter->mppriv.rateidx = MRateToHwRate(rate); /*if (rate <= 0x7f) rate = wifirate2_ratetbl_inx((u8)rate); else if (rate < 0xC8) rate = (rate - 0x79 + MPT_RATE_MCS0); HT rate 0x80(MCS0) ~ 0x8F(MCS15) ~ 0x9F(MCS31) 128~159 VHT1SS~2SS rate 0xA0 (VHT1SS_MCS0 44) ~ 0xB3 (VHT2SS_MCS9 #63) 160~179 VHT rate 0xB4 (VHT3SS_MCS0 64) ~ 0xC7 (VHT2SS_MCS9 #83) 180~199 else VHT rate 0x90(VHT1SS_MCS0) ~ 0x99(VHT1SS_MCS9) 144~153 rate =(rate - MPT_RATE_VHT1SS_MCS0); */ } _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "Set data rate to %s index %d" , input, padapter->mppriv.rateidx); RTW_INFO("%s: %s rate index=%d\n", __func__, input, padapter->mppriv.rateidx); if (padapter->mppriv.rateidx >= DESC_RATEVHTSS4MCS9) return -EINVAL; pMptCtx->mpt_rate_index = HwRateToMPTRate(padapter->mppriv.rateidx); SetDataRate(padapter); wrqu->length = strlen(extra); return 0; } int rtw_mp_channel(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); u8 input[wrqu->length + 1]; u32 channel = 1; int cur_ch_offset; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; channel = rtw_atoi(input); /*RTW_INFO("%s: channel=%d\n", __func__, channel);*/ _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "Change channel %d to channel %d", padapter->mppriv.channel , channel); padapter->mppriv.channel = channel; SetChannel(padapter); pHalData->current_channel = channel; wrqu->length = strlen(extra); return 0; } int rtw_mp_bandwidth(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 bandwidth = 0, sg = 0; int cur_ch_offset; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); u8 input[wrqu->length]; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; if (sscanf(input, "40M=%d,shortGI=%d", &bandwidth, &sg) > 0) RTW_INFO("%s: bw=%d sg=%d\n", __func__, bandwidth , sg); if (bandwidth == 1) bandwidth = CHANNEL_WIDTH_40; else if (bandwidth == 2) bandwidth = CHANNEL_WIDTH_80; padapter->mppriv.bandwidth = (u8)bandwidth; padapter->mppriv.preamble = sg; _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "Change BW %d to BW %d\n", pHalData->current_channel_bw , bandwidth); SetBandwidth(padapter); pHalData->current_channel_bw = bandwidth; /*cur_ch_offset = rtw_get_offset_by_ch(padapter->mppriv.channel);*/ /*set_channel_bwmode(padapter, padapter->mppriv.channel, cur_ch_offset, bandwidth);*/ wrqu->length = strlen(extra); return 0; } int rtw_mp_txpower_index(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); char input[wrqu->length + 1]; u32 rfpath; u32 txpower_inx; if (wrqu->length > 128) return -EFAULT; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; rfpath = rtw_atoi(input); txpower_inx = mpt_ProQueryCalTxPower(padapter, rfpath); sprintf(extra, " %d", txpower_inx); wrqu->length = strlen(extra); return 0; } int rtw_mp_txpower(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 idx_a = 0, idx_b = 0, idx_c = 0, idx_d = 0, status = 0; int MsetPower = 1; u8 input[wrqu->length]; PADAPTER padapter = rtw_netdev_priv(dev); PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; MsetPower = strncmp(input, "off", 3); if (MsetPower == 0) { padapter->mppriv.bSetTxPower = 0; sprintf(extra, "MP Set power off"); } else { if (sscanf(input, "patha=%d,pathb=%d,pathc=%d,pathd=%d", &idx_a, &idx_b, &idx_c, &idx_d) < 3) RTW_INFO("Invalid format on line %s ,patha=%d,pathb=%d,pathc=%d,pathd=%d\n", input , idx_a , idx_b , idx_c , idx_d); sprintf(extra, "Set power level path_A:%d path_B:%d path_C:%d path_D:%d", idx_a , idx_b , idx_c , idx_d); padapter->mppriv.txpoweridx = (u8)idx_a; pMptCtx->TxPwrLevel[RF_PATH_A] = (u8)idx_a; pMptCtx->TxPwrLevel[RF_PATH_B] = (u8)idx_b; pMptCtx->TxPwrLevel[RF_PATH_C] = (u8)idx_c; pMptCtx->TxPwrLevel[RF_PATH_D] = (u8)idx_d; padapter->mppriv.bSetTxPower = 1; SetTxPower(padapter); } wrqu->length = strlen(extra); return 0; } int rtw_mp_ant_tx(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u8 i; u8 input[wrqu->length + 1]; u16 antenna = 0; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; sprintf(extra, "switch Tx antenna to %s", input); for (i = 0; i < strlen(input); i++) { switch (input[i]) { case 'a': antenna |= ANTENNA_A; break; case 'b': antenna |= ANTENNA_B; break; case 'c': antenna |= ANTENNA_C; break; case 'd': antenna |= ANTENNA_D; break; } } /*antenna |= BIT(extra[i]-'a');*/ RTW_INFO("%s: antenna=0x%x\n", __func__, antenna); padapter->mppriv.antenna_tx = antenna; padapter->mppriv.antenna_rx = antenna; /*RTW_INFO("%s:mppriv.antenna_rx=%d\n", __func__, padapter->mppriv.antenna_tx);*/ pHalData->antenna_tx_path = antenna; SetAntenna(padapter); wrqu->length = strlen(extra); return 0; } int rtw_mp_ant_rx(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u8 i; u16 antenna = 0; u8 input[wrqu->length + 1]; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; /*RTW_INFO("%s: input=%s\n", __func__, input);*/ _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "switch Rx antenna to %s", input); for (i = 0; i < strlen(input); i++) { switch (input[i]) { case 'a': antenna |= ANTENNA_A; break; case 'b': antenna |= ANTENNA_B; break; case 'c': antenna |= ANTENNA_C; break; case 'd': antenna |= ANTENNA_D; break; } } RTW_INFO("%s: antenna=0x%x\n", __func__, antenna); padapter->mppriv.antenna_tx = antenna; padapter->mppriv.antenna_rx = antenna; pHalData->AntennaRxPath = antenna; /*RTW_INFO("%s:mppriv.antenna_rx=%d\n", __func__, padapter->mppriv.antenna_rx);*/ SetAntenna(padapter); wrqu->length = strlen(extra); return 0; } int rtw_set_ctx_destAddr(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { int jj, kk = 0; struct pkt_attrib *pattrib; struct mp_priv *pmp_priv; PADAPTER padapter = rtw_netdev_priv(dev); pmp_priv = &padapter->mppriv; pattrib = &pmp_priv->tx.attrib; if (strlen(extra) < 5) return _FAIL; RTW_INFO("%s: in=%s\n", __func__, extra); for (jj = 0, kk = 0; jj < ETH_ALEN; jj++, kk += 3) pattrib->dst[jj] = key_2char2num(extra[kk], extra[kk + 1]); RTW_INFO("pattrib->dst:%x %x %x %x %x %x\n", pattrib->dst[0], pattrib->dst[1], pattrib->dst[2], pattrib->dst[3], pattrib->dst[4], pattrib->dst[5]); return 0; } int rtw_mp_ctx(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 pkTx = 1; int countPkTx = 1, cotuTx = 1, CarrSprTx = 1, scTx = 1, sgleTx = 1, stop = 1; u32 bStartTest = 1; u32 count = 0, pktinterval = 0, pktlen = 0; u8 status; struct mp_priv *pmp_priv; struct pkt_attrib *pattrib; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); pmp_priv = &padapter->mppriv; pattrib = &pmp_priv->tx.attrib; if (copy_from_user(extra, wrqu->pointer, wrqu->length)) return -EFAULT; *(extra + wrqu->length) = '\0'; RTW_INFO("%s: in=%s\n", __func__, extra); #ifdef CONFIG_CONCURRENT_MODE if (!is_primary_adapter(padapter)) { sprintf(extra, "Error: MP mode can't support Virtual Adapter, Please to use main Adapter.\n"); wrqu->length = strlen(extra); return 0; } #endif countPkTx = strncmp(extra, "count=", 5); /* strncmp TRUE is 0*/ cotuTx = strncmp(extra, "background", 20); CarrSprTx = strncmp(extra, "background,cs", 20); scTx = strncmp(extra, "background,sc", 20); sgleTx = strncmp(extra, "background,stone", 20); pkTx = strncmp(extra, "background,pkt", 20); stop = strncmp(extra, "stop", 4); if (sscanf(extra, "count=%d,pkt", &count) > 0) RTW_INFO("count= %d\n", count); if (sscanf(extra, "pktinterval=%d", &pktinterval) > 0) RTW_INFO("pktinterval= %d\n", pktinterval); if (sscanf(extra, "pktlen=%d", &pktlen) > 0) RTW_INFO("pktlen= %d\n", pktlen); if (_rtw_memcmp(extra, "destmac=", 8)) { wrqu->length -= 8; rtw_set_ctx_destAddr(dev, info, wrqu, &extra[8]); sprintf(extra, "Set dest mac OK !\n"); return 0; } /*RTW_INFO("%s: count=%d countPkTx=%d cotuTx=%d CarrSprTx=%d scTx=%d sgleTx=%d pkTx=%d stop=%d\n", __func__, count, countPkTx, cotuTx, CarrSprTx, pkTx, sgleTx, scTx, stop);*/ _rtw_memset(extra, '\0', strlen(extra)); if (pktinterval != 0) { sprintf(extra, "Pkt Interval = %d", pktinterval); padapter->mppriv.pktInterval = pktinterval; wrqu->length = strlen(extra); return 0; } if (pktlen != 0) { sprintf(extra, "Pkt len = %d", pktlen); pattrib->pktlen = pktlen; wrqu->length = strlen(extra); return 0; } if (stop == 0) { bStartTest = 0; /* To set Stop*/ pmp_priv->tx.stop = 1; sprintf(extra, "Stop continuous Tx"); odm_write_dig(&pHalData->odmpriv, 0x20); } else { bStartTest = 1; odm_write_dig(&pHalData->odmpriv, 0x7f); if (pmp_priv->mode != MP_ON) { if (pmp_priv->tx.stop != 1) { RTW_INFO("%s: MP_MODE != ON %d\n", __func__, pmp_priv->mode); return -EFAULT; } } } pmp_priv->tx.count = count; if (pkTx == 0 || countPkTx == 0) pmp_priv->mode = MP_PACKET_TX; if (sgleTx == 0) pmp_priv->mode = MP_SINGLE_TONE_TX; if (cotuTx == 0) pmp_priv->mode = MP_CONTINUOUS_TX; if (CarrSprTx == 0) pmp_priv->mode = MP_CARRIER_SUPPRISSION_TX; if (scTx == 0) pmp_priv->mode = MP_SINGLE_CARRIER_TX; status = rtw_mp_pretx_proc(padapter, bStartTest, extra); wrqu->length = strlen(extra); return status; } int rtw_mp_disable_bt_coexist(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = (PADAPTER)rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct hal_ops *pHalFunc = &padapter->hal_func; u8 input[wrqu->data.length + 1]; u32 bt_coexist; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; input[wrqu->data.length] = '\0'; bt_coexist = rtw_atoi(input); if (bt_coexist == 0) { RTW_INFO("Set OID_RT_SET_DISABLE_BT_COEXIST: disable BT_COEXIST\n"); #ifdef CONFIG_BT_COEXIST rtw_btcoex_HaltNotify(padapter); rtw_btcoex_SetManualControl(padapter, _TRUE); /* Force to switch Antenna to WiFi*/ rtw_write16(padapter, 0x870, 0x300); rtw_write16(padapter, 0x860, 0x110); #endif /* CONFIG_BT_COEXIST */ } else { #ifdef CONFIG_BT_COEXIST rtw_btcoex_SetManualControl(padapter, _FALSE); #endif } return 0; } int rtw_mp_arx(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { int bStartRx = 0, bStopRx = 0, bQueryPhy = 0, bQueryMac = 0, bSetBssid = 0; int bmac_filter = 0, bfilter_init = 0, bmon = 0, bSmpCfg = 0, bloopbk = 0; u8 input[wrqu->length]; char *pch, *ptmp, *token, *tmp[2] = {0x00, 0x00}; u32 i = 0, ii = 0, jj = 0, kk = 0, cnts = 0, ret; PADAPTER padapter = rtw_netdev_priv(dev); struct mp_priv *pmppriv = &padapter->mppriv; struct dbg_rx_counter rx_counter; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; RTW_INFO("%s: %s\n", __func__, input); #ifdef CONFIG_CONCURRENT_MODE if (!is_primary_adapter(padapter)) { sprintf(extra, "Error: MP mode can't support Virtual Adapter, Please to use main Adapter.\n"); wrqu->length = strlen(extra); return 0; } #endif bStartRx = (strncmp(input, "start", 5) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ bStopRx = (strncmp(input, "stop", 5) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ bQueryPhy = (strncmp(input, "phy", 3) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ bQueryMac = (strncmp(input, "mac", 3) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ bSetBssid = (strncmp(input, "setbssid=", 8) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ /*bfilter_init = (strncmp(input, "filter_init",11)==0)?1:0;*/ bmac_filter = (strncmp(input, "accept_mac", 10) == 0) ? 1 : 0; bmon = (strncmp(input, "mon=", 4) == 0) ? 1 : 0; bSmpCfg = (strncmp(input , "smpcfg=" , 7) == 0) ? 1 : 0; pmppriv->bloopback = (strncmp(input, "loopbk", 6) == 0) ? 1 : 0; /* strncmp TRUE is 0*/ if (bSetBssid == 1) { pch = input; while ((token = strsep(&pch, "=")) != NULL) { if (i > 1) break; tmp[i] = token; i++; } if ((tmp[0] != NULL) && (tmp[1] != NULL)) { cnts = strlen(tmp[1]) / 2; if (cnts < 1) return -EFAULT; RTW_INFO("%s: cnts=%d\n", __func__, cnts); RTW_INFO("%s: data=%s\n", __func__, tmp[1]); for (jj = 0, kk = 0; jj < cnts ; jj++, kk += 2) { pmppriv->network_macaddr[jj] = key_2char2num(tmp[1][kk], tmp[1][kk + 1]); RTW_INFO("network_macaddr[%d]=%x\n", jj, pmppriv->network_macaddr[jj]); } } else return -EFAULT; pmppriv->bSetRxBssid = _TRUE; } if (bmac_filter) { pmppriv->bmac_filter = bmac_filter; pch = input; while ((token = strsep(&pch, "=")) != NULL) { if (i > 1) break; tmp[i] = token; i++; } if ((tmp[0] != NULL) && (tmp[1] != NULL)) { cnts = strlen(tmp[1]) / 2; if (cnts < 1) return -EFAULT; RTW_INFO("%s: cnts=%d\n", __func__, cnts); RTW_INFO("%s: data=%s\n", __func__, tmp[1]); for (jj = 0, kk = 0; jj < cnts ; jj++, kk += 2) { pmppriv->mac_filter[jj] = key_2char2num(tmp[1][kk], tmp[1][kk + 1]); RTW_INFO("%s mac_filter[%d]=%x\n", __func__, jj, pmppriv->mac_filter[jj]); } } else return -EFAULT; } if (bStartRx) { sprintf(extra, "start"); SetPacketRx(padapter, bStartRx, _FALSE); } else if (bStopRx) { SetPacketRx(padapter, bStartRx, _FALSE); pmppriv->bmac_filter = _FALSE; pmppriv->bSetRxBssid = _FALSE; sprintf(extra, "Received packet OK:%d CRC error:%d ,Filter out:%d", padapter->mppriv.rx_pktcount, padapter->mppriv.rx_crcerrpktcount, padapter->mppriv.rx_pktcount_filter_out); } else if (bQueryPhy) { _rtw_memset(&rx_counter, 0, sizeof(struct dbg_rx_counter)); rtw_dump_phy_rx_counters(padapter, &rx_counter); RTW_INFO("%s: OFDM_FA =%d\n", __func__, rx_counter.rx_ofdm_fa); RTW_INFO("%s: CCK_FA =%d\n", __func__, rx_counter.rx_cck_fa); sprintf(extra, "Phy Received packet OK:%d CRC error:%d FA Counter: %d", rx_counter.rx_pkt_ok, rx_counter.rx_pkt_crc_error, rx_counter.rx_cck_fa + rx_counter.rx_ofdm_fa); } else if (bQueryMac) { _rtw_memset(&rx_counter, 0, sizeof(struct dbg_rx_counter)); rtw_dump_mac_rx_counters(padapter, &rx_counter); sprintf(extra, "Mac Received packet OK: %d , CRC error: %d , Drop Packets: %d\n", rx_counter.rx_pkt_ok, rx_counter.rx_pkt_crc_error, rx_counter.rx_pkt_drop); } if (bmon == 1) { ret = sscanf(input, "mon=%d", &bmon); if (bmon == 1) { pmppriv->rx_bindicatePkt = _TRUE; sprintf(extra, "Indicating Receive Packet to network start\n"); } else { pmppriv->rx_bindicatePkt = _FALSE; sprintf(extra, "Indicating Receive Packet to network Stop\n"); } } if (bSmpCfg == 1) { ret = sscanf(input, "smpcfg=%d", &bSmpCfg); if (bSmpCfg == 1) { pmppriv->bRTWSmbCfg = _TRUE; sprintf(extra , "Indicate By Simple Config Format\n"); SetPacketRx(padapter, _TRUE, _TRUE); } else { pmppriv->bRTWSmbCfg = _FALSE; sprintf(extra , "Indicate By Normal Format\n"); SetPacketRx(padapter, _TRUE, _FALSE); } } if (pmppriv->bloopback == _TRUE) { sprintf(extra , "Enter MAC LoopBack mode\n"); _rtw_write32(padapter, 0x100, 0xB0106FF); RTW_INFO("0x100 :0x%x" , _rtw_read32(padapter, 0x100)); _rtw_write16(padapter, 0x608, 0x30c); RTW_INFO("0x100 :0x%x" , _rtw_read32(padapter, 0x608)); } wrqu->length = strlen(extra) + 1; return 0; } int rtw_mp_trx_query(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u32 txok, txfail, rxok, rxfail, rxfilterout; PADAPTER padapter = rtw_netdev_priv(dev); PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); RT_PMAC_TX_INFO PMacTxInfo = pMptCtx->PMacTxInfo; if (PMacTxInfo.bEnPMacTx == TRUE) txok = hal_mpt_query_phytxok(padapter); else txok = padapter->mppriv.tx.sended; txfail = 0; rxok = padapter->mppriv.rx_pktcount; rxfail = padapter->mppriv.rx_crcerrpktcount; rxfilterout = padapter->mppriv.rx_pktcount_filter_out; _rtw_memset(extra, '\0', 128); sprintf(extra, "Tx OK:%d, Tx Fail:%d, Rx OK:%d, CRC error:%d ,Rx Filter out:%d\n", txok, txfail, rxok, rxfail, rxfilterout); wrqu->length = strlen(extra) + 1; return 0; } int rtw_mp_pwrtrk(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u8 enable; u32 thermal; s32 ret; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); u8 input[wrqu->length]; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; _rtw_memset(extra, 0, wrqu->length); enable = 1; if (wrqu->length > 1) { /* not empty string*/ if (strncmp(input, "stop", 4) == 0) { enable = 0; sprintf(extra, "mp tx power tracking stop"); } else if (sscanf(input, "ther=%d", &thermal) == 1) { ret = SetThermalMeter(padapter, (u8)thermal); if (ret == _FAIL) return -EPERM; sprintf(extra, "mp tx power tracking start,target value=%d ok", thermal); } else return -EINVAL; } ret = SetPowerTracking(padapter, enable); if (ret == _FAIL) return -EPERM; wrqu->length = strlen(extra); return 0; } int rtw_mp_psd(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); u8 input[wrqu->length + 1]; _rtw_memset(input, 0, sizeof(input)); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; input[wrqu->length] = '\0'; strcpy(extra, input); wrqu->length = mp_query_psd(padapter, extra); return 0; } int rtw_mp_thermal(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { u8 val; int bwrite = 1; #ifdef CONFIG_RTL8188E u16 addr = EEPROM_THERMAL_METER_88E; #endif #if defined(CONFIG_RTL8812A) || defined(CONFIG_RTL8821A) || defined(CONFIG_RTL8814A) u16 addr = EEPROM_THERMAL_METER_8812; #endif #ifdef CONFIG_RTL8192E u16 addr = EEPROM_THERMAL_METER_8192E; #endif #ifdef CONFIG_RTL8723B u16 addr = EEPROM_THERMAL_METER_8723B; #endif #ifdef CONFIG_RTL8703B u16 addr = EEPROM_THERMAL_METER_8703B; #endif #ifdef CONFIG_RTL8723D u16 addr = EEPROM_THERMAL_METER_8723D; #endif #ifdef CONFIG_RTL8188F u16 addr = EEPROM_THERMAL_METER_8188F; #endif #ifdef CONFIG_RTL8822B u16 addr = EEPROM_THERMAL_METER_8822B; #endif #ifdef CONFIG_RTL8821C u16 addr = EEPROM_THERMAL_METER_8821C; #endif u16 cnt = 1; u16 max_available_size = 0; PADAPTER padapter = rtw_netdev_priv(dev); if (copy_from_user(extra, wrqu->pointer, wrqu->length)) return -EFAULT; bwrite = strncmp(extra, "write", 6);/* strncmp TRUE is 0*/ GetThermalMeter(padapter, &val); if (bwrite == 0) { /*RTW_INFO("to write val:%d",val);*/ EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, (PVOID)&max_available_size, _FALSE); if (2 > max_available_size) { RTW_INFO("no available efuse!\n"); return -EFAULT; } if (rtw_efuse_map_write(padapter, addr, cnt, &val) == _FAIL) { RTW_INFO("rtw_efuse_map_write error\n"); return -EFAULT; } sprintf(extra, " efuse write ok :%d", val); } else sprintf(extra, "%d", val); wrqu->length = strlen(extra); return 0; } int rtw_mp_reset_stats(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { struct mp_priv *pmp_priv; struct pkt_attrib *pattrib; PADAPTER padapter = rtw_netdev_priv(dev); pmp_priv = &padapter->mppriv; pmp_priv->tx.sended = 0; pmp_priv->tx_pktcount = 0; pmp_priv->rx_pktcount = 0; pmp_priv->rx_pktcount_filter_out = 0; pmp_priv->rx_crcerrpktcount = 0; rtw_reset_phy_rx_counters(padapter); rtw_reset_mac_rx_counters(padapter); _rtw_memset(extra, 0, wrqu->length); sprintf(extra, "mp_reset_stats ok\n"); wrqu->length = strlen(extra); return 0; } int rtw_mp_dump(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { struct mp_priv *pmp_priv; struct pkt_attrib *pattrib; u32 value; u8 input[wrqu->length]; u8 rf_type, path_nums = 0; u32 i, j = 1, path; PADAPTER padapter = rtw_netdev_priv(dev); pmp_priv = &padapter->mppriv; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; if (strncmp(input, "all", 4) == 0) { mac_reg_dump(RTW_DBGDUMP, padapter); bb_reg_dump(RTW_DBGDUMP, padapter); rf_reg_dump(RTW_DBGDUMP, padapter); } return 0; } int rtw_mp_phypara(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); char input[wrqu->length]; u32 valxcap, ret; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; RTW_INFO("%s:iwpriv in=%s\n", __func__, input); ret = sscanf(input, "xcap=%d", &valxcap); pHalData->crystal_cap = (u8)valxcap; hal_set_crystal_cap(padapter , valxcap); sprintf(extra, "Set xcap=%d", valxcap); wrqu->length = strlen(extra) + 1; return 0; } int rtw_mp_SetRFPath(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); char input[wrqu->length]; int bMain = 1, bTurnoff = 1; u8 ret = _TRUE; RTW_INFO("%s:iwpriv in=%s\n", __func__, input); if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; bMain = strncmp(input, "1", 2); /* strncmp TRUE is 0*/ bTurnoff = strncmp(input, "0", 3); /* strncmp TRUE is 0*/ _rtw_memset(extra, 0, wrqu->length); #ifdef CONFIG_ANTENNA_DIVERSITY if (bMain == 0) ret = rtw_mp_set_antdiv(padapter, _TRUE); else ret = rtw_mp_set_antdiv(padapter, _FALSE); if (ret == _FALSE) RTW_INFO("%s:ANTENNA_DIVERSITY FAIL\n", __func__); #endif if (bMain == 0) { MP_PHY_SetRFPathSwitch(padapter, _TRUE); RTW_INFO("%s:PHY_SetRFPathSwitch=TRUE\n", __func__); sprintf(extra, "mp_setrfpath Main\n"); } else if (bTurnoff == 0) { MP_PHY_SetRFPathSwitch(padapter, _FALSE); RTW_INFO("%s:PHY_SetRFPathSwitch=FALSE\n", __func__); sprintf(extra, "mp_setrfpath Aux\n"); } else { bMain = MP_PHY_QueryRFPathSwitch(padapter); RTW_INFO("%s:PHY_SetRFPathSwitch = %s\n", __func__, (bMain ? "Main":"Aux")); sprintf(extra, "mp_setrfpath %s\n" , (bMain ? "Main":"Aux")); } wrqu->length = strlen(extra); return 0; } int rtw_mp_QueryDrv(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); char input[wrqu->data.length]; int qAutoLoad = 1; PHAL_DATA_TYPE pHalData = GET_HAL_DATA(padapter); if (copy_from_user(input, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; RTW_INFO("%s:iwpriv in=%s\n", __func__, input); qAutoLoad = strncmp(input, "autoload", 8); /* strncmp TRUE is 0*/ if (qAutoLoad == 0) { RTW_INFO("%s:qAutoLoad\n", __func__); if (pHalData->bautoload_fail_flag) sprintf(extra, "fail"); else sprintf(extra, "ok"); } wrqu->data.length = strlen(extra) + 1; return 0; } int rtw_mp_PwrCtlDM(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); u8 input[wrqu->length]; int bstart = 1; if (copy_from_user(input, wrqu->pointer, wrqu->length)) return -EFAULT; bstart = strncmp(input, "start", 5); /* strncmp TRUE is 0*/ if (bstart == 0) { sprintf(extra, "PwrCtlDM start\n"); MPT_PwrCtlDM(padapter, 1); } else { sprintf(extra, "PwrCtlDM stop\n"); MPT_PwrCtlDM(padapter, 0); } wrqu->length = strlen(extra); return 0; } int rtw_mp_iqk(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); rtw_mp_trigger_iqk(padapter); return 0; } int rtw_mp_lck(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); rtw_mp_trigger_lck(padapter); return 0; } int rtw_mp_getver(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); struct mp_priv *pmp_priv; pmp_priv = &padapter->mppriv; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; sprintf(extra, "rtwpriv=%d\n", RTWPRIV_VER_INFO); wrqu->data.length = strlen(extra); return 0; } int rtw_mp_mon(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); struct mp_priv *pmp_priv = &padapter->mppriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct hal_ops *pHalFunc = &padapter->hal_func; NDIS_802_11_NETWORK_INFRASTRUCTURE networkType; int bstart = 1, bstop = 1; networkType = Ndis802_11Infrastructure; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; *(extra + wrqu->data.length) = '\0'; rtw_pm_set_ips(padapter, IPS_NONE); LeaveAllPowerSaveMode(padapter); #ifdef CONFIG_MP_INCLUDED if (init_mp_priv(padapter) == _FAIL) RTW_INFO("%s: initialize MP private data Fail!\n", __func__); padapter->mppriv.channel = 6; bstart = strncmp(extra, "start", 5); /* strncmp TRUE is 0*/ bstop = strncmp(extra, "stop", 4); /* strncmp TRUE is 0*/ if (bstart == 0) { mp_join(padapter, WIFI_FW_ADHOC_STATE); SetPacketRx(padapter, _TRUE, _FALSE); SetChannel(padapter); pmp_priv->rx_bindicatePkt = _TRUE; pmp_priv->bRTWSmbCfg = _TRUE; sprintf(extra, "monitor mode start\n"); } else if (bstop == 0) { SetPacketRx(padapter, _FALSE, _FALSE); pmp_priv->rx_bindicatePkt = _FALSE; pmp_priv->bRTWSmbCfg = _FALSE; padapter->registrypriv.mp_mode = 1; pHalFunc->hal_deinit(padapter); padapter->registrypriv.mp_mode = 0; pHalFunc->hal_init(padapter); /*rtw_disassoc_cmd(padapter, 0, 0);*/ if (check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) { rtw_disassoc_cmd(padapter, 500, 0); rtw_indicate_disconnect(padapter, 0, _FALSE); /*rtw_free_assoc_resources(padapter, 1);*/ } rtw_pm_set_ips(padapter, IPS_NORMAL); sprintf(extra, "monitor mode Stop\n"); } #endif wrqu->data.length = strlen(extra); return 0; } int rtw_mp_pretx_proc(PADAPTER padapter, u8 bStartTest, char *extra) { HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); char *pextra = extra; switch (pmp_priv->mode) { case MP_PACKET_TX: if (bStartTest == 0) { pmp_priv->tx.stop = 1; pmp_priv->mode = MP_ON; sprintf(extra, "Stop continuous Tx"); } else if (pmp_priv->tx.stop == 1) { pextra = extra + strlen(extra); pextra += sprintf(pextra, "\nStart continuous DA=ffffffffffff len=1500 count=%u\n", pmp_priv->tx.count); pmp_priv->tx.stop = 0; SetPacketTx(padapter); } else return -EFAULT; return 0; case MP_SINGLE_TONE_TX: if (bStartTest != 0) strcat(extra, "\nStart continuous DA=ffffffffffff len=1500\n infinite=yes."); SetSingleToneTx(padapter, (u8)bStartTest); break; case MP_CONTINUOUS_TX: if (bStartTest != 0) strcat(extra, "\nStart continuous DA=ffffffffffff len=1500\n infinite=yes."); SetContinuousTx(padapter, (u8)bStartTest); break; case MP_CARRIER_SUPPRISSION_TX: if (bStartTest != 0) { if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_11M) strcat(extra, "\nStart continuous DA=ffffffffffff len=1500\n infinite=yes."); else strcat(extra, "\nSpecify carrier suppression but not CCK rate"); } SetCarrierSuppressionTx(padapter, (u8)bStartTest); break; case MP_SINGLE_CARRIER_TX: if (bStartTest != 0) strcat(extra, "\nStart continuous DA=ffffffffffff len=1500\n infinite=yes."); SetSingleCarrierTx(padapter, (u8)bStartTest); break; default: sprintf(extra, "Error! Continuous-Tx is not on-going."); return -EFAULT; } if (bStartTest == 1 && pmp_priv->mode != MP_ON) { struct mp_priv *pmp_priv = &padapter->mppriv; if (pmp_priv->tx.stop == 0) { pmp_priv->tx.stop = 1; rtw_msleep_os(5); } #ifdef CONFIG_80211N_HT pmp_priv->tx.attrib.ht_en = 1; #endif pmp_priv->tx.stop = 0; pmp_priv->tx.count = 1; SetPacketTx(padapter); } else pmp_priv->mode = MP_ON; #if defined(CONFIG_RTL8812A) if (IS_HARDWARE_TYPE_8812AU(padapter)) { /* <20130425, Kordan> Turn off OFDM Rx to prevent from CCA causing Tx hang.*/ if (pmp_priv->mode == MP_PACKET_TX) phy_set_bb_reg(padapter, rCCAonSec_Jaguar, BIT3, 1); else phy_set_bb_reg(padapter, rCCAonSec_Jaguar, BIT3, 0); } #endif return 0; } int rtw_mp_tx(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); struct registry_priv *pregistrypriv = &padapter->registrypriv; char *pextra = extra; u32 bandwidth = 0, sg = 0, channel = 6, txpower = 40, rate = 108, ant = 0, txmode = 1, count = 0; u8 i = 0, j = 0, bStartTest = 1, status = 0, Idx = 0, tmpU1B = 0; u16 antenna = 0; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; RTW_INFO("extra = %s\n", extra); #ifdef CONFIG_CONCURRENT_MODE if (!is_primary_adapter(padapter)) { sprintf(extra, "Error: MP mode can't support Virtual Adapter, Please to use main Adapter.\n"); wrqu->data.length = strlen(extra); return 0; } #endif if (strncmp(extra, "stop", 3) == 0) { bStartTest = 0; /* To set Stop*/ pmp_priv->tx.stop = 1; sprintf(extra, "Stop continuous Tx"); status = rtw_mp_pretx_proc(padapter, bStartTest, extra); wrqu->data.length = strlen(extra); return status; } else if (strncmp(extra, "count", 5) == 0) { if (sscanf(extra, "count=%d", &count) < 1) RTW_INFO("Got Count=%d]\n", count); pmp_priv->tx.count = count; return 0; } else if (strncmp(extra, "setting", 7) == 0) { _rtw_memset(extra, 0, wrqu->data.length); pextra += sprintf(pextra, "Current Setting :\n Channel:%d", pmp_priv->channel); pextra += sprintf(pextra, "\n Bandwidth:%d", pmp_priv->bandwidth); pextra += sprintf(pextra, "\n Rate index:%d", pmp_priv->rateidx); pextra += sprintf(pextra, "\n TxPower index:%d", pmp_priv->txpoweridx); pextra += sprintf(pextra, "\n Antenna TxPath:%d", pmp_priv->antenna_tx); pextra += sprintf(pextra, "\n Antenna RxPath:%d", pmp_priv->antenna_rx); pextra += sprintf(pextra, "\n MP Mode:%d", pmp_priv->mode); wrqu->data.length = strlen(extra); return 0; #ifdef CONFIG_MP_VHT_HW_TX_MODE } else if (strncmp(extra, "pmact", 5) == 0) { if (strncmp(extra, "pmact=", 6) == 0) { _rtw_memset(&pMptCtx->PMacTxInfo, 0, sizeof(pMptCtx->PMacTxInfo)); if (strncmp(extra, "pmact=start", 11) == 0) { pMptCtx->PMacTxInfo.bEnPMacTx = _TRUE; sprintf(extra, "Set PMac Tx Mode start\n"); } else { pMptCtx->PMacTxInfo.bEnPMacTx = _FALSE; sprintf(extra, "Set PMac Tx Mode Stop\n"); } if (pMptCtx->bldpc == TRUE) pMptCtx->PMacTxInfo.bLDPC = _TRUE; if (pMptCtx->bstbc == TRUE) pMptCtx->PMacTxInfo.bSTBC = _TRUE; pMptCtx->PMacTxInfo.bSPreamble = pmp_priv->preamble; pMptCtx->PMacTxInfo.bSGI = pmp_priv->preamble; pMptCtx->PMacTxInfo.BandWidth = pmp_priv->bandwidth; pMptCtx->PMacTxInfo.TX_RATE = HwRateToMPTRate(pmp_priv->rateidx); pMptCtx->PMacTxInfo.Mode = pMptCtx->HWTxmode; pMptCtx->PMacTxInfo.NDP_sound = FALSE;/*(Adapter.PacketType == NDP_PKT)?TRUE:FALSE;*/ if (padapter->mppriv.pktInterval == 0) pMptCtx->PMacTxInfo.PacketPeriod = 100; else pMptCtx->PMacTxInfo.PacketPeriod = padapter->mppriv.pktInterval; if (padapter->mppriv.pktLength < 1000) pMptCtx->PMacTxInfo.PacketLength = 1000; else pMptCtx->PMacTxInfo.PacketLength = padapter->mppriv.pktLength; pMptCtx->PMacTxInfo.PacketPattern = rtw_random32() % 0xFF; if (padapter->mppriv.tx_pktcount != 0) pMptCtx->PMacTxInfo.PacketCount = padapter->mppriv.tx_pktcount; pMptCtx->PMacTxInfo.Ntx = 0; for (Idx = 16; Idx < 20; Idx++) { tmpU1B = (padapter->mppriv.antenna_tx >> Idx) & 1; if (tmpU1B) pMptCtx->PMacTxInfo.Ntx++; } _rtw_memset(pMptCtx->PMacTxInfo.MacAddress, 0xFF, ETH_ALEN); PMAC_Get_Pkt_Param(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); if (MPT_IS_CCK_RATE(pMptCtx->PMacTxInfo.TX_RATE)) CCK_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); else { PMAC_Nsym_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); /* 24 BIT*/ L_SIG_generator(pMptCtx->PMacPktInfo.N_sym, &pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); } /* 48BIT*/ if (MPT_IS_HT_RATE(pMptCtx->PMacTxInfo.TX_RATE)) HT_SIG_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); else if (MPT_IS_VHT_RATE(pMptCtx->PMacTxInfo.TX_RATE)) { /* 48BIT*/ VHT_SIG_A_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); /* 26/27/29 BIT & CRC 8 BIT*/ VHT_SIG_B_generator(&pMptCtx->PMacTxInfo); /* 32 BIT*/ VHT_Delimiter_generator(&pMptCtx->PMacTxInfo); } mpt_ProSetPMacTx(padapter); } else if (strncmp(extra, "pmact,mode=", 11) == 0) { int txmode = 0; if (sscanf(extra, "pmact,mode=%d", &txmode) > 0) { if (txmode == 1) { pMptCtx->HWTxmode = CONTINUOUS_TX; sprintf(extra, "\t Config HW Tx mode = CONTINUOUS_TX\n"); } else if (txmode == 2) { pMptCtx->HWTxmode = OFDM_Single_Tone_TX; sprintf(extra, "\t Config HW Tx mode = OFDM_Single_Tone_TX\n"); } else { pMptCtx->HWTxmode = PACKETS_TX; sprintf(extra, "\t Config HW Tx mode = PACKETS_TX\n"); } } else { pMptCtx->HWTxmode = PACKETS_TX; sprintf(extra, "\t Config HW Tx mode=\n 0 = PACKETS_TX\n 1 = CONTINUOUS_TX\n 2 = OFDM_Single_Tone_TX"); } } else if (strncmp(extra, "pmact,", 6) == 0) { int PacketPeriod = 0, PacketLength = 0, PacketCout = 0; int bldpc = 0, bstbc = 0; if (sscanf(extra, "pmact,period=%d", &PacketPeriod) > 0) { padapter->mppriv.pktInterval = PacketPeriod; RTW_INFO("PacketPeriod=%d\n", padapter->mppriv.pktInterval); sprintf(extra, "PacketPeriod [1~255]= %d\n", padapter->mppriv.pktInterval); } else if (sscanf(extra, "pmact,length=%d", &PacketLength) > 0) { padapter->mppriv.pktLength = PacketLength; RTW_INFO("PacketPeriod=%d\n", padapter->mppriv.pktLength); sprintf(extra, "PacketLength[~65535]=%d\n", padapter->mppriv.pktLength); } else if (sscanf(extra, "pmact,count=%d", &PacketCout) > 0) { padapter->mppriv.tx_pktcount = PacketCout; RTW_INFO("Packet Cout =%d\n", padapter->mppriv.tx_pktcount); sprintf(extra, "Packet Cout =%d\n", padapter->mppriv.tx_pktcount); } else if (sscanf(extra, "pmact,ldpc=%d", &bldpc) > 0) { pMptCtx->bldpc = bldpc; RTW_INFO("Set LDPC =%d\n", pMptCtx->bldpc); sprintf(extra, "Set LDPC =%d\n", pMptCtx->bldpc); } else if (sscanf(extra, "pmact,stbc=%d", &bstbc) > 0) { pMptCtx->bstbc = bstbc; RTW_INFO("Set STBC =%d\n", pMptCtx->bstbc); sprintf(extra, "Set STBC =%d\n", pMptCtx->bstbc); } else sprintf(extra, "\n period={1~255}\n length={1000~65535}\n count={0~}\n ldpc={0/1}\n stbc={0/1}"); } wrqu->data.length = strlen(extra); return 0; #endif } else { if (sscanf(extra, "ch=%d,bw=%d,rate=%d,pwr=%d,ant=%d,tx=%d", &channel, &bandwidth, &rate, &txpower, &ant, &txmode) < 6) { RTW_INFO("Invalid format [ch=%d,bw=%d,rate=%d,pwr=%d,ant=%d,tx=%d]\n", channel, bandwidth, rate, txpower, ant, txmode); _rtw_memset(extra, 0, wrqu->data.length); pextra += sprintf(pextra, "\n Please input correct format as bleow:\n"); pextra += sprintf(pextra, "\t ch=%d,bw=%d,rate=%d,pwr=%d,ant=%d,tx=%d\n", channel, bandwidth, rate, txpower, ant, txmode); pextra += sprintf(pextra, "\n [ ch : BGN = <1~14> , A or AC = <36~165> ]"); pextra += sprintf(pextra, "\n [ bw : Bandwidth: 0 = 20M, 1 = 40M, 2 = 80M ]"); pextra += sprintf(pextra, "\n [ rate : CCK: 1 2 5.5 11M X 2 = < 2 4 11 22 >]"); pextra += sprintf(pextra, "\n [ OFDM: 6 9 12 18 24 36 48 54M X 2 = < 12 18 24 36 48 72 96 108>"); pextra += sprintf(pextra, "\n [ HT 1S2SS MCS0 ~ MCS15 : < [MCS0]=128 ~ [MCS7]=135 ~ [MCS15]=143 >"); pextra += sprintf(pextra, "\n [ HT 3SS MCS16 ~ MCS32 : < [MCS16]=144 ~ [MCS23]=151 ~ [MCS32]=159 >"); pextra += sprintf(pextra, "\n [ VHT 1SS MCS0 ~ MCS9 : < [MCS0]=160 ~ [MCS9]=169 >"); pextra += sprintf(pextra, "\n [ txpower : 1~63 power index"); pextra += sprintf(pextra, "\n [ ant : <A = 1, B = 2, C = 4, D = 8> ,2T ex: AB=3 BC=6 CD=12"); pextra += sprintf(pextra, "\n [ txmode : < 0 = CONTINUOUS_TX, 1 = PACKET_TX, 2 = SINGLE_TONE_TX, 3 = CARRIER_SUPPRISSION_TX, 4 = SINGLE_CARRIER_TX>\n"); wrqu->data.length = strlen(extra); return status; } else { char *pextra = extra; RTW_INFO("Got format [ch=%d,bw=%d,rate=%d,pwr=%d,ant=%d,tx=%d]\n", channel, bandwidth, rate, txpower, ant, txmode); _rtw_memset(extra, 0, wrqu->data.length); sprintf(extra, "Change Current channel %d to channel %d", padapter->mppriv.channel , channel); padapter->mppriv.channel = channel; SetChannel(padapter); pHalData->current_channel = channel; if (bandwidth == 1) bandwidth = CHANNEL_WIDTH_40; else if (bandwidth == 2) bandwidth = CHANNEL_WIDTH_80; pextra = extra + strlen(pextra); pextra += sprintf(pextra, "\nChange Current Bandwidth %d to Bandwidth %d", padapter->mppriv.bandwidth, bandwidth); padapter->mppriv.bandwidth = (u8)bandwidth; padapter->mppriv.preamble = sg; SetBandwidth(padapter); pHalData->current_channel_bw = bandwidth; pextra += sprintf(pextra, "\nSet power level :%d", txpower); padapter->mppriv.txpoweridx = (u8)txpower; pMptCtx->TxPwrLevel[RF_PATH_A] = (u8)txpower; pMptCtx->TxPwrLevel[RF_PATH_B] = (u8)txpower; pMptCtx->TxPwrLevel[RF_PATH_C] = (u8)txpower; pMptCtx->TxPwrLevel[RF_PATH_D] = (u8)txpower; SetTxPower(padapter); RTW_INFO("%s: bw=%d sg=%d\n", __func__, bandwidth, sg); if (rate <= 0x7f) rate = wifirate2_ratetbl_inx((u8)rate); else if (rate < 0xC8) rate = (rate - 0x80 + MPT_RATE_MCS0); /*HT rate 0x80(MCS0) ~ 0x8F(MCS15) ~ 0x9F(MCS31) 128~159 VHT1SS~2SS rate 0xA0 (VHT1SS_MCS0 44) ~ 0xB3 (VHT2SS_MCS9 #63) 160~179 VHT rate 0xB4 (VHT3SS_MCS0 64) ~ 0xC7 (VHT2SS_MCS9 #83) 180~199 else VHT rate 0x90(VHT1SS_MCS0) ~ 0x99(VHT1SS_MCS9) 144~153 rate =(rate - MPT_RATE_VHT1SS_MCS0); */ RTW_INFO("%s: rate index=%d\n", __func__, rate); if (rate >= MPT_RATE_LAST) return -EINVAL; pextra += sprintf(pextra, "\nSet data rate to %d index %d", padapter->mppriv.rateidx, rate); padapter->mppriv.rateidx = rate; pMptCtx->mpt_rate_index = rate; SetDataRate(padapter); pextra += sprintf(pextra, "\nSet Antenna Path :%d", ant); switch (ant) { case 1: antenna = ANTENNA_A; break; case 2: antenna = ANTENNA_B; break; case 4: antenna = ANTENNA_C; break; case 8: antenna = ANTENNA_D; break; case 3: antenna = ANTENNA_AB; break; case 5: antenna = ANTENNA_AC; break; case 9: antenna = ANTENNA_AD; break; case 6: antenna = ANTENNA_BC; break; case 10: antenna = ANTENNA_BD; break; case 12: antenna = ANTENNA_CD; break; case 7: antenna = ANTENNA_ABC; break; case 14: antenna = ANTENNA_BCD; break; case 11: antenna = ANTENNA_ABD; break; case 15: antenna = ANTENNA_ABCD; break; } RTW_INFO("%s: antenna=0x%x\n", __func__, antenna); padapter->mppriv.antenna_tx = antenna; padapter->mppriv.antenna_rx = antenna; pHalData->antenna_tx_path = antenna; SetAntenna(padapter); if (txmode == 0) pmp_priv->mode = MP_CONTINUOUS_TX; else if (txmode == 1) { pmp_priv->mode = MP_PACKET_TX; pmp_priv->tx.count = count; } else if (txmode == 2) pmp_priv->mode = MP_SINGLE_TONE_TX; else if (txmode == 3) pmp_priv->mode = MP_CARRIER_SUPPRISSION_TX; else if (txmode == 4) pmp_priv->mode = MP_SINGLE_CARRIER_TX; status = rtw_mp_pretx_proc(padapter, bStartTest, extra); } } wrqu->data.length = strlen(extra); return status; } int rtw_mp_rx(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); char *pextra = extra; u32 bandwidth = 0, sg = 0, channel = 6, ant = 0; u16 antenna = 0; u8 bStartRx = 0; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; #ifdef CONFIG_CONCURRENT_MODE if (!is_primary_adapter(padapter)) { sprintf(extra, "Error: MP mode can't support Virtual Adapter, Please to use main Adapter.\n"); wrqu->data.length = strlen(extra); return 0; } #endif if (strncmp(extra, "stop", 4) == 0) { _rtw_memset(extra, 0, wrqu->data.length); SetPacketRx(padapter, bStartRx, _FALSE); pmp_priv->bmac_filter = _FALSE; sprintf(extra, "Received packet OK:%d CRC error:%d ,Filter out:%d", padapter->mppriv.rx_pktcount, padapter->mppriv.rx_crcerrpktcount, padapter->mppriv.rx_pktcount_filter_out); wrqu->data.length = strlen(extra); return 0; } else if (sscanf(extra, "ch=%d,bw=%d,ant=%d", &channel, &bandwidth, &ant) < 3) { RTW_INFO("Invalid format [ch=%d,bw=%d,ant=%d]\n", channel, bandwidth, ant); _rtw_memset(extra, 0, wrqu->data.length); pextra += sprintf(pextra, "\n Please input correct format as bleow:\n"); pextra += sprintf(pextra, "\t ch=%d,bw=%d,ant=%d\n", channel, bandwidth, ant); pextra += sprintf(pextra, "\n [ ch : BGN = <1~14> , A or AC = <36~165> ]"); pextra += sprintf(pextra, "\n [ bw : Bandwidth: 0 = 20M, 1 = 40M, 2 = 80M ]"); pextra += sprintf(pextra, "\n [ ant : <A = 1, B = 2, C = 4, D = 8> ,2T ex: AB=3 BC=6 CD=12"); wrqu->data.length = strlen(extra); return 0; } else { char *pextra = extra; bStartRx = 1; RTW_INFO("Got format [ch=%d,bw=%d,ant=%d]\n", channel, bandwidth, ant); _rtw_memset(extra, 0, wrqu->data.length); sprintf(extra, "Change Current channel %d to channel %d", padapter->mppriv.channel , channel); padapter->mppriv.channel = channel; SetChannel(padapter); pHalData->current_channel = channel; if (bandwidth == 1) bandwidth = CHANNEL_WIDTH_40; else if (bandwidth == 2) bandwidth = CHANNEL_WIDTH_80; pextra = extra + strlen(extra); pextra += sprintf(pextra, "\nChange Current Bandwidth %d to Bandwidth %d", padapter->mppriv.bandwidth, bandwidth); padapter->mppriv.bandwidth = (u8)bandwidth; padapter->mppriv.preamble = sg; SetBandwidth(padapter); pHalData->current_channel_bw = bandwidth; pextra += sprintf(pextra, "\nSet Antenna Path :%d", ant); switch (ant) { case 1: antenna = ANTENNA_A; break; case 2: antenna = ANTENNA_B; break; case 4: antenna = ANTENNA_C; break; case 8: antenna = ANTENNA_D; break; case 3: antenna = ANTENNA_AB; break; case 5: antenna = ANTENNA_AC; break; case 9: antenna = ANTENNA_AD; break; case 6: antenna = ANTENNA_BC; break; case 10: antenna = ANTENNA_BD; break; case 12: antenna = ANTENNA_CD; break; case 7: antenna = ANTENNA_ABC; break; case 14: antenna = ANTENNA_BCD; break; case 11: antenna = ANTENNA_ABD; break; case 15: antenna = ANTENNA_ABCD; break; } RTW_INFO("%s: antenna=0x%x\n", __func__, antenna); padapter->mppriv.antenna_tx = antenna; padapter->mppriv.antenna_rx = antenna; pHalData->antenna_tx_path = antenna; SetAntenna(padapter); strcat(extra, "\nstart Rx"); SetPacketRx(padapter, bStartRx, _FALSE); } wrqu->data.length = strlen(extra); return 0; } int rtw_mp_hwtx(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); #if defined(CONFIG_RTL8814A) || defined(CONFIG_RTL8821B) || defined(CONFIG_RTL8822B) || defined(CONFIG_RTL8821C) u8 input[wrqu->data.length]; if (copy_from_user(input, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; _rtw_memset(&pMptCtx->PMacTxInfo, 0, sizeof(RT_PMAC_TX_INFO)); _rtw_memcpy((void *)&pMptCtx->PMacTxInfo, (void *)input, sizeof(RT_PMAC_TX_INFO)); mpt_ProSetPMacTx(padapter); sprintf(extra, "Set PMac Tx Mode start\n"); wrqu->data.length = strlen(extra); #endif return 0; } int rtw_mp_pwrlmt(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); struct registry_priv *registry_par = &padapter->registrypriv; u8 pwrlimtstat = 0; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; #ifdef CONFIG_TXPWR_LIMIT pwrlimtstat = registry_par->RegEnableTxPowerLimit; if (strncmp(extra, "off", 3) == 0 && strlen(extra) < 4) { padapter->registrypriv.RegEnableTxPowerLimit = 0; sprintf(extra, "Turn off Power Limit\n"); } else if (strncmp(extra, "on", 2) == 0 && strlen(extra) < 3) { padapter->registrypriv.RegEnableTxPowerLimit = 1; sprintf(extra, "Turn on Power Limit\n"); } else #endif sprintf(extra, "Get Power Limit Status:%s\n", (pwrlimtstat == 1) ? "ON" : "OFF"); wrqu->data.length = strlen(extra); return 0; } int rtw_mp_pwrbyrate(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; if (strncmp(extra, "off", 3) == 0 && strlen(extra) < 4) { padapter->registrypriv.RegEnableTxPowerByRate = 0; sprintf(extra, "Turn off Tx Power by Rate\n"); } else if (strncmp(extra, "on", 2) == 0 && strlen(extra) < 3) { padapter->registrypriv.RegEnableTxPowerByRate = 1; sprintf(extra, "Turn On Tx Power by Rate\n"); } else { sprintf(extra, "Get Power by Rate Status:%s\n", (padapter->registrypriv.RegEnableTxPowerByRate == 1) ? "ON" : "OFF"); } wrqu->data.length = strlen(extra); return 0; } int rtw_efuse_mask_file(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { char *rtw_efuse_mask_file_path; u8 Status; PADAPTER padapter = rtw_netdev_priv(dev); _rtw_memset(maskfileBuffer, 0x00, sizeof(maskfileBuffer)); if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; *(extra + wrqu->data.length) = '\0'; if (strncmp(extra, "off", 3) == 0 && strlen(extra) < 4) { padapter->registrypriv.boffefusemask = 1; sprintf(extra, "Turn off Efuse Mask\n"); wrqu->data.length = strlen(extra); return 0; } if (strncmp(extra, "on", 2) == 0 && strlen(extra) < 3) { padapter->registrypriv.boffefusemask = 0; sprintf(extra, "Turn on Efuse Mask\n"); wrqu->data.length = strlen(extra); return 0; } if (strncmp(extra, "data,", 5) == 0) { u8 *pch, *pdata; char *ptmp, tmp; u8 count = 0; u8 i = 0; u32 datalen = 0; ptmp = extra; pch = strsep(&ptmp, ","); if ((pch == NULL) || (strlen(pch) == 0)) { RTW_INFO("%s: parameter error(no cmd)!\n", __func__); return -EFAULT; } do { pch = strsep(&ptmp, ":"); if ((pch == NULL) || (strlen(pch) == 0)) break; if (strlen(pch) != 2 || IsHexDigit(*pch) == _FALSE || IsHexDigit(*(pch + 1)) == _FALSE || sscanf(pch, "%hhx", &tmp) != 1 ) { RTW_INFO("%s: invalid 8-bit hex! input format: data,01:23:45:67:89:ab:cd:ef...\n", __func__); return -EFAULT; } maskfileBuffer[count++] = tmp; } while (count < 64); for (i = 0; i < count; i++) sprintf(extra, "%s:%02x", extra, maskfileBuffer[i]); padapter->registrypriv.bFileMaskEfuse = _TRUE; sprintf(extra, "%s\nLoad Efuse Mask data %d hex ok\n", extra, count); wrqu->data.length = strlen(extra); return 0; } rtw_efuse_mask_file_path = extra; if (rtw_is_file_readable(rtw_efuse_mask_file_path) == _TRUE) { RTW_INFO("%s do rtw_efuse_mask_file_read = %s! ,sizeof maskfileBuffer %zu\n", __func__, rtw_efuse_mask_file_path, sizeof(maskfileBuffer)); Status = rtw_efuse_file_read(padapter, rtw_efuse_mask_file_path, maskfileBuffer, sizeof(maskfileBuffer)); if (Status == _TRUE) { padapter->registrypriv.bFileMaskEfuse = _TRUE; sprintf(extra, "efuse mask file read OK\n"); } else { padapter->registrypriv.bFileMaskEfuse = _FALSE; sprintf(extra, "read efuse mask file FAIL\n"); RTW_INFO("%s rtw_efuse_file_read mask fail!\n", __func__); } } else { padapter->registrypriv.bFileMaskEfuse = _FALSE; sprintf(extra, "efuse mask file readable FAIL\n"); RTW_INFO("%s rtw_is_file_readable fail!\n", __func__); } wrqu->data.length = strlen(extra); return 0; } int rtw_efuse_file_map(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { char *rtw_efuse_file_map_path; u8 Status; PEFUSE_HAL pEfuseHal; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; pEfuseHal = &pHalData->EfuseHal; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; rtw_efuse_file_map_path = extra; _rtw_memset(pEfuseHal->fakeEfuseModifiedMap, 0xFF, EFUSE_MAX_MAP_LEN); if (rtw_is_file_readable(rtw_efuse_file_map_path) == _TRUE) { RTW_INFO("%s do rtw_efuse_mask_file_read = %s!\n", __func__, rtw_efuse_file_map_path); Status = rtw_efuse_file_read(padapter, rtw_efuse_file_map_path, pEfuseHal->fakeEfuseModifiedMap, sizeof(pEfuseHal->fakeEfuseModifiedMap)); if (Status == _TRUE) { pmp_priv->bloadefusemap = _TRUE; sprintf(extra, "efuse file file_read OK\n"); } else { pmp_priv->bloadefusemap = _FALSE; sprintf(extra, "efuse file file_read FAIL\n"); } } else { sprintf(extra, "efuse file readable FAIL\n"); RTW_INFO("%s rtw_is_file_readable fail!\n", __func__); } wrqu->data.length = strlen(extra); return 0; } int rtw_bt_efuse_file_map(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { char *rtw_efuse_file_map_path; u8 Status; PEFUSE_HAL pEfuseHal; PADAPTER padapter = rtw_netdev_priv(dev); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); struct mp_priv *pmp_priv = &padapter->mppriv; pEfuseHal = &pHalData->EfuseHal; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; rtw_efuse_file_map_path = extra; _rtw_memset(pEfuseHal->fakeBTEfuseModifiedMap, 0xFF, EFUSE_BT_MAX_MAP_LEN); if (rtw_is_file_readable(rtw_efuse_file_map_path) == _TRUE) { RTW_INFO("%s do rtw_efuse_mask_file_read = %s!\n", __func__, rtw_efuse_file_map_path); Status = rtw_efuse_file_read(padapter, rtw_efuse_file_map_path, pEfuseHal->fakeBTEfuseModifiedMap, sizeof(pEfuseHal->fakeBTEfuseModifiedMap)); if (Status == _TRUE) { pmp_priv->bloadBTefusemap = _TRUE; sprintf(extra, "BT efuse file file_read OK\n"); } else { pmp_priv->bloadBTefusemap = _FALSE; sprintf(extra, "BT efuse file file_read FAIL\n"); } } else { sprintf(extra, "BT efuse file readable FAIL\n"); RTW_INFO("%s rtw_is_file_readable fail!\n", __func__); } wrqu->data.length = strlen(extra); return 0; } #if defined(CONFIG_RTL8723B) int rtw_mp_SetBT(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { PADAPTER padapter = rtw_netdev_priv(dev); struct hal_ops *pHalFunc = &padapter->hal_func; HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); BT_REQ_CMD BtReq; PMPT_CONTEXT pMptCtx = &(padapter->mppriv.mpt_ctx); PBT_RSP_CMD pBtRsp = (PBT_RSP_CMD)&pMptCtx->mptOutBuf[0]; char input[128]; char *pch, *ptmp, *token, *tmp[2] = {0x00, 0x00}; u8 setdata[100]; u8 resetbt = 0x00; u8 tempval, BTStatus; u8 H2cSetbtmac[6]; u8 u1H2CBtMpOperParm[4] = {0x01}; int testmode = 1, ready = 1, trxparam = 1, setgen = 1, getgen = 1, testctrl = 1, testbt = 1, readtherm = 1, setbtmac = 1; u32 i = 0, ii = 0, jj = 0, kk = 0, cnts = 0, status = 0; PRT_MP_FIRMWARE pBTFirmware = NULL; if (copy_from_user(extra, wrqu->data.pointer, wrqu->data.length)) return -EFAULT; *(extra + wrqu->data.length) = '\0'; if (strlen(extra) < 1) return -EFAULT; RTW_INFO("%s:iwpriv in=%s\n", __func__, extra); ready = strncmp(extra, "ready", 5); testmode = strncmp(extra, "testmode", 8); /* strncmp TRUE is 0*/ trxparam = strncmp(extra, "trxparam", 8); setgen = strncmp(extra, "setgen", 6); getgen = strncmp(extra, "getgen", 6); testctrl = strncmp(extra, "testctrl", 8); testbt = strncmp(extra, "testbt", 6); readtherm = strncmp(extra, "readtherm", 9); setbtmac = strncmp(extra, "setbtmac", 8); if (strncmp(extra, "dlbt", 4) == 0) { pHalData->LastHMEBoxNum = 0; padapter->bBTFWReady = _FALSE; rtw_write8(padapter, 0xa3, 0x05); BTStatus = rtw_read8(padapter, 0xa0); RTW_INFO("%s: btwmap before read 0xa0 BT Status =0x%x\n", __func__, BTStatus); if (BTStatus != 0x04) { sprintf(extra, "BT Status not Active DLFW FAIL\n"); goto exit; } tempval = rtw_read8(padapter, 0x6B); tempval |= BIT7; rtw_write8(padapter, 0x6B, tempval); /* Attention!! Between 0x6A[14] and 0x6A[15] setting need 100us delay*/ /* So don't write 0x6A[14]=1 and 0x6A[15]=0 together!*/ rtw_usleep_os(100); /* disable BT power cut*/ /* 0x6A[14] = 0*/ tempval = rtw_read8(padapter, 0x6B); tempval &= ~BIT6; rtw_write8(padapter, 0x6B, tempval); rtw_usleep_os(100); MPT_PwrCtlDM(padapter, 0); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) | 0x00000004)); rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) & 0xFFFFFFEF)); rtw_msleep_os(600); rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) | 0x00000010)); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) & 0xFFFFFFFB)); rtw_msleep_os(1200); pBTFirmware = (PRT_MP_FIRMWARE)rtw_zmalloc(sizeof(RT_MP_FIRMWARE)); if (pBTFirmware == NULL) goto exit; padapter->bBTFWReady = _FALSE; FirmwareDownloadBT(padapter, pBTFirmware); if (pBTFirmware) rtw_mfree((u8 *)pBTFirmware, sizeof(RT_MP_FIRMWARE)); RTW_INFO("Wait for FirmwareDownloadBT fw boot!\n"); rtw_msleep_os(2000); _rtw_memset(extra, '\0', wrqu->data.length); BtReq.opCodeVer = 1; BtReq.OpCode = 0; BtReq.paraLength = 0; mptbt_BtControlProcess(padapter, &BtReq); rtw_msleep_os(100); RTW_INFO("FirmwareDownloadBT ready = 0x%x 0x%x", pMptCtx->mptOutBuf[4], pMptCtx->mptOutBuf[5]); if ((pMptCtx->mptOutBuf[4] == 0x00) && (pMptCtx->mptOutBuf[5] == 0x00)) { if (padapter->mppriv.bTxBufCkFail == _TRUE) sprintf(extra, "check TxBuf Fail.\n"); else sprintf(extra, "download FW Fail.\n"); } else { sprintf(extra, "download FW OK.\n"); goto exit; } goto exit; } if (strncmp(extra, "dlfw", 4) == 0) { pHalData->LastHMEBoxNum = 0; padapter->bBTFWReady = _FALSE; rtw_write8(padapter, 0xa3, 0x05); BTStatus = rtw_read8(padapter, 0xa0); RTW_INFO("%s: btwmap before read 0xa0 BT Status =0x%x\n", __func__, BTStatus); if (BTStatus != 0x04) { sprintf(extra, "BT Status not Active DLFW FAIL\n"); goto exit; } tempval = rtw_read8(padapter, 0x6B); tempval |= BIT7; rtw_write8(padapter, 0x6B, tempval); /* Attention!! Between 0x6A[14] and 0x6A[15] setting need 100us delay*/ /* So don't write 0x6A[14]=1 and 0x6A[15]=0 together!*/ rtw_usleep_os(100); /* disable BT power cut*/ /* 0x6A[14] = 0*/ tempval = rtw_read8(padapter, 0x6B); tempval &= ~BIT6; rtw_write8(padapter, 0x6B, tempval); rtw_usleep_os(100); MPT_PwrCtlDM(padapter, 0); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) | 0x00000004)); rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) & 0xFFFFFFEF)); rtw_msleep_os(600); rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) | 0x00000010)); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) & 0xFFFFFFFB)); rtw_msleep_os(1200); #if defined(CONFIG_PLATFORM_SPRD) && (MP_DRIVER == 1) /* Pull up BT reset pin.*/ RTW_INFO("%s: pull up BT reset pin when bt start mp test\n", __func__); rtw_wifi_gpio_wlan_ctrl(WLAN_BT_PWDN_ON); #endif RTW_INFO(" FirmwareDownload!\n"); #if defined(CONFIG_RTL8723B) status = rtl8723b_FirmwareDownload(padapter, _FALSE); #endif RTW_INFO("Wait for FirmwareDownloadBT fw boot!\n"); rtw_msleep_os(1000); #ifdef CONFIG_BT_COEXIST rtw_btcoex_HaltNotify(padapter); RTW_INFO("SetBT btcoex HaltNotify !\n"); /*hal_btcoex1ant_SetAntPath(padapter);*/ rtw_btcoex_SetManualControl(padapter, _TRUE); #endif _rtw_memset(extra, '\0', wrqu->data.length); BtReq.opCodeVer = 1; BtReq.OpCode = 0; BtReq.paraLength = 0; mptbt_BtControlProcess(padapter, &BtReq); rtw_msleep_os(200); RTW_INFO("FirmwareDownloadBT ready = 0x%x 0x%x", pMptCtx->mptOutBuf[4], pMptCtx->mptOutBuf[5]); if ((pMptCtx->mptOutBuf[4] == 0x00) && (pMptCtx->mptOutBuf[5] == 0x00)) { if (padapter->mppriv.bTxBufCkFail == _TRUE) sprintf(extra, "check TxBuf Fail.\n"); else sprintf(extra, "download FW Fail.\n"); } else { #ifdef CONFIG_BT_COEXIST rtw_btcoex_SwitchBtTRxMask(padapter); #endif rtw_msleep_os(200); sprintf(extra, "download FW OK.\n"); goto exit; } goto exit; } if (strncmp(extra, "down", 4) == 0) { RTW_INFO("SetBT down for to hal_init !\n"); #ifdef CONFIG_BT_COEXIST rtw_btcoex_SetManualControl(padapter, _FALSE); rtw_btcoex_Initialize(padapter); #endif pHalFunc->read_adapter_info(padapter); pHalFunc->hal_deinit(padapter); pHalFunc->hal_init(padapter); rtw_pm_set_ips(padapter, IPS_NONE); LeaveAllPowerSaveMode(padapter); MPT_PwrCtlDM(padapter, 0); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) | 0x00000004)); rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) & 0xFFFFFFEF)); rtw_msleep_os(600); /*rtw_write32(padapter, 0x6a, (rtw_read32(padapter, 0x6a)& 0xFFFFFFFE));*/ rtw_write32(padapter, 0x6b, (rtw_read32(padapter, 0x6b) | 0x00000010)); rtw_write32(padapter, 0xcc, (rtw_read32(padapter, 0xcc) & 0xFFFFFFFB)); rtw_msleep_os(1200); goto exit; } if (strncmp(extra, "disable", 7) == 0) { RTW_INFO("SetBT disable !\n"); rtw_write32(padapter, 0x6a, (rtw_read32(padapter, 0x6a) & 0xFFFFFFFB)); rtw_msleep_os(500); goto exit; } if (strncmp(extra, "enable", 6) == 0) { RTW_INFO("SetBT enable !\n"); rtw_write32(padapter, 0x6a, (rtw_read32(padapter, 0x6a) | 0x00000004)); rtw_msleep_os(500); goto exit; } if (strncmp(extra, "h2c", 3) == 0) { RTW_INFO("SetBT h2c !\n"); padapter->bBTFWReady = _TRUE; rtw_hal_fill_h2c_cmd(padapter, 0x63, 1, u1H2CBtMpOperParm); goto exit; } if (strncmp(extra, "2ant", 4) == 0) { RTW_INFO("Set BT 2ant use!\n"); phy_set_mac_reg(padapter, 0x67, BIT5, 0x1); rtw_write32(padapter, 0x948, 0000); goto exit; } if (ready != 0 && testmode != 0 && trxparam != 0 && setgen != 0 && getgen != 0 && testctrl != 0 && testbt != 0 && readtherm != 0 && setbtmac != 0) return -EFAULT; if (testbt == 0) { BtReq.opCodeVer = 1; BtReq.OpCode = 6; BtReq.paraLength = cnts / 2; goto todo; } if (ready == 0) { BtReq.opCodeVer = 1; BtReq.OpCode = 0; BtReq.paraLength = 0; goto todo; } pch = extra; i = 0; while ((token = strsep(&pch, ",")) != NULL) { if (i > 1) break; tmp[i] = token; i++; } if ((tmp[0] != NULL) && (tmp[1] != NULL)) { cnts = strlen(tmp[1]); if (cnts < 1) return -EFAULT; RTW_INFO("%s: cnts=%d\n", __func__, cnts); RTW_INFO("%s: data=%s\n", __func__, tmp[1]); for (jj = 0, kk = 0; jj < cnts; jj++, kk += 2) { BtReq.pParamStart[jj] = key_2char2num(tmp[1][kk], tmp[1][kk + 1]); /* RTW_INFO("BtReq.pParamStart[%d]=0x%02x\n", jj, BtReq.pParamStart[jj]);*/ } } else return -EFAULT; if (testmode == 0) { BtReq.opCodeVer = 1; BtReq.OpCode = 1; BtReq.paraLength = 1; } if (trxparam == 0) { BtReq.opCodeVer = 1; BtReq.OpCode = 2; BtReq.paraLength = cnts / 2; } if (setgen == 0) { RTW_INFO("%s: BT_SET_GENERAL\n", __func__); BtReq.opCodeVer = 1; BtReq.OpCode = 3;/*BT_SET_GENERAL 3*/ BtReq.paraLength = cnts / 2; } if (getgen == 0) { RTW_INFO("%s: BT_GET_GENERAL\n", __func__); BtReq.opCodeVer = 1; BtReq.OpCode = 4;/*BT_GET_GENERAL 4*/ BtReq.paraLength = cnts / 2; } if (readtherm == 0) { RTW_INFO("%s: BT_GET_GENERAL\n", __func__); BtReq.opCodeVer = 1; BtReq.OpCode = 4;/*BT_GET_GENERAL 4*/ BtReq.paraLength = cnts / 2; } if (testctrl == 0) { RTW_INFO("%s: BT_TEST_CTRL\n", __func__); BtReq.opCodeVer = 1; BtReq.OpCode = 5;/*BT_TEST_CTRL 5*/ BtReq.paraLength = cnts / 2; } RTW_INFO("%s: Req opCodeVer=%d OpCode=%d paraLength=%d\n", __func__, BtReq.opCodeVer, BtReq.OpCode, BtReq.paraLength); if (BtReq.paraLength < 1) goto todo; for (i = 0; i < BtReq.paraLength; i++) { RTW_INFO("%s: BtReq.pParamStart[%d] = 0x%02x\n", __func__, i, BtReq.pParamStart[i]); } todo: _rtw_memset(extra, '\0', wrqu->data.length); if (padapter->bBTFWReady == _FALSE) { sprintf(extra, "BTFWReady = FALSE.\n"); goto exit; } mptbt_BtControlProcess(padapter, &BtReq); if (readtherm == 0) { sprintf(extra, "BT thermal="); for (i = 4; i < pMptCtx->mptOutLen; i++) { if ((pMptCtx->mptOutBuf[i] == 0x00) && (pMptCtx->mptOutBuf[i + 1] == 0x00)) goto exit; sprintf(extra, "%s %d ", extra, (pMptCtx->mptOutBuf[i] & 0x1f)); } } else { for (i = 4; i < pMptCtx->mptOutLen; i++) sprintf(extra, "%s 0x%x ", extra, pMptCtx->mptOutBuf[i]); } exit: wrqu->data.length = strlen(extra) + 1; RTW_INFO("-%s: output len=%d data=%s\n", __func__, wrqu->data.length, extra); return status; } #endif /*#ifdef CONFIG_RTL8723B*/ #endif
the_stack_data/243893708.c
#include <stdio.h> #define ROWS 3 #define COLS 4 void sum_rows(int ar[][COLS], int rows); void sum_cols(int [][COLS], int); int sum2d(int (*ar)[COLS], int rows); int main(void) { int junk[ROWS][COLS] = { { 2, 4, 6, 8 }, { 3, 5, 7, 9 }, { 12, 10, 8, 6 } }; sum_rows(junk, ROWS); sum_cols(junk, ROWS); printf("sum is %d", sum2d(junk, ROWS)); } void sum_rows(int ar[][COLS], int rows) { int r; int c; int tot; for (r = 0; r < rows; r++) { tot = 0; for (c = 0; c < COLS; c++) { tot += ar[r][c]; } printf("sum row is %d", tot); } } void sum_cols(int ar[][COLS], int rows) { int r; int c; int tot; for (c = 0; c < COLS; c++) { tot = 0; for (r = 0; r < rows; r++) { tot += ar[r][c]; } printf("sum col is %d", tot); } } int sum2d(int ar[][COLS], int rows) { int r; int c; int tot; for (r = 0; r < rows; r++) { for (c = 0; c < COLS; c++) { tot += ar[r][c]; } } return tot; }
the_stack_data/149549.c
#include <stdlib.h> typedef struct { double epsilon; } material_type; material_type foo(double x) { material_type m; m.epsilon = 1.0 + x; return m; } int main() { int i; material_type x; /* We must iterate enough times to overflow the FP stack on the x86. */ for (i = 0; i < 10; i++) { x = foo (1.0); if (x.epsilon != 1.0 + 1.0) abort (); } exit (0); }
the_stack_data/87170.c
// // main.c // testFileClean // // Created by bob on 11/23/20. // #include <stdio.h> int main(int argc, const char * argv[]) { // insert code here... printf("Hello, World!\n"); return 0; }
the_stack_data/28932.c
#include <signal.h> #include <unistd.h> #include <stdlib.h> void foo (void); void bar (void); void subroutine (int); void handler (int); void have_a_very_merry_interrupt (void); int main () { foo (); /* Put a breakpoint on foo() and call it to see a dummy frame */ have_a_very_merry_interrupt (); return 0; } void foo (void) { } void bar (void) { *(volatile char *)0 = 0; /* try to cause a segfault */ /* On MMU-less system, previous memory access to address zero doesn't trigger a SIGSEGV. Trigger a SIGILL. Each arch should define its own illegal instruction here. */ #if defined(__arm__) asm(".word 0xf8f00000"); #elif defined(__TMS320C6X__) asm(".word 0x56454313"); #else #endif } void handler (int sig) { subroutine (sig); } /* The first statement in subroutine () is a place for a breakpoint. Without it, the breakpoint is put on the while comparison and will be hit at each iteration. */ void subroutine (int in) { int count = in; while (count < 100) count++; } void have_a_very_merry_interrupt (void) { signal (SIGALRM, handler); alarm (1); sleep (2); /* We'll receive that signal while sleeping */ }
the_stack_data/165764693.c
/**************************************************************************** * * Copyright 2017 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the License. * ****************************************************************************/ #ifdef CONFIG_RT_OCF_BUDDY_MEM_SYS #include "unity.h" #include "unity_fixture.h" #include <stdio.h> #include "rt_mem.h" #include "rt_list.h" #include "rt_logger.h" #define TESTBUDDYMEM "test_buddy_mem" static mem_info_s *mem; TEST_GROUP(test_mem_buddy); TEST_SETUP(test_mem_buddy) { mem = getMemInfo(); rt_mem_pool_init(); } TEST_TEAR_DOWN(test_mem_buddy) { print_mem_log(); rt_mem_pool_terminate(); } TEST(test_mem_buddy, default_buddy) { RT_LOG_D(TESTBUDDYMEM, "%p", mem->address); RT_LOG_D(TESTBUDDYMEM, "%p", mem->ptr); TEST_ASSERT_EQUAL_INT(mem->address, mem->ptr); } TEST(test_mem_buddy, getMemInfo_detect_leak) { (int *)rt_mem_alloc(sizeof(int)); //Then TEST_ASSERT_EQUAL_INT(4, rt_mem_buddy_terminate(mem)); } TEST(test_mem_buddy, alloc_pool_size) { //Given int *A = (int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE); rt_mem_free(A); //Then TEST_ASSERT_EQUAL_INT(OCF_RT_MEM_POOL_SIZE, mem->peak); TEST_ASSERT_EQUAL_INT(0, mem->current); TEST_ASSERT_EQUAL_INT(0, mem->occupied); TEST_ASSERT_EQUAL_INT(OCF_RT_MEM_POOL_SIZE, mem->total); } TEST(test_mem_buddy, alloc4_free2) { //Given int *A = (int *)rt_mem_alloc(20); int *B = (int *)rt_mem_alloc(35); int *C = (int *)rt_mem_alloc(10); int *D = (int *)rt_mem_alloc(5); rt_mem_free(D); rt_mem_free(C); A = NULL; B = NULL; //Then TEST_ASSERT_EQUAL_INT(70, mem->peak); TEST_ASSERT_EQUAL_INT(55, mem->current); TEST_ASSERT_EQUAL_INT(96, mem->occupied); TEST_ASSERT_EQUAL_INT(OCF_RT_MEM_POOL_SIZE, mem->total); } TEST(test_mem_buddy, alloc_random) { //Given int N = 100; unsigned int *ptr_list[N]; int i = 0, count = 0; srand(time(NULL)); for (i = 0; i < N; i++) { int size = rand() % 1500; unsigned int *ptr = (unsigned int *)rt_mem_alloc(size); if (ptr != NULL) { ptr_list[count] = ptr; count++; RT_LOG_D(TESTBUDDYMEM, "%d | size=%d, ptr=%x\n", count, size, ptr); } } for (i = 0; i < count; i++) { RT_LOG_D(TESTBUDDYMEM, "%d / %d", i, count); rt_mem_free(ptr_list[i]); } //Then333 TEST_ASSERT_EQUAL_INT(OCF_RT_MEM_POOL_SIZE, mem->total); } TEST(test_mem_buddy, external_frag_ratio_default) { //Given TEST_ASSERT_EQUAL_FLOAT(0, mem->external_frag_ratio); } TEST(test_mem_buddy, external_frag_ratio_4096_byte) { //Given // When unsigned int *ptr = (unsigned int *)rt_mem_alloc(4096); // Then float expected = 1.0f - ((float)(OCF_RT_MEM_POOL_SIZE / 2.0f) / (float)(OCF_RT_MEM_POOL_SIZE - 4096.0f)); TEST_ASSERT_FLOAT_WITHIN(0.001f, expected, mem->external_frag_ratio); rt_mem_free(ptr); } TEST(test_mem_buddy, external_frag_ratio_half_byte) { //Given // When unsigned int *ptr = (unsigned int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE >> 1); // Then TEST_ASSERT_FLOAT_WITHIN(0.001f, 0.0f, mem->external_frag_ratio); rt_mem_free(ptr); } TEST(test_mem_buddy, external_frag_ratio_half_of_half_byte) { //Given // When unsigned int *ptr = (unsigned int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE >> 2); // Then float expected = 1 / 3.0f; TEST_ASSERT_FLOAT_WITHIN(0.001f, expected, mem->external_frag_ratio); rt_mem_free(ptr); } TEST(test_mem_buddy, external_frag_ratio_one_of_four_three_of_eight) { //Given // When unsigned int *ptr1 = (unsigned int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE >> 2); unsigned int *ptr2 = (unsigned int *)rt_mem_alloc((OCF_RT_MEM_POOL_SIZE >> 3) * 3); // Then float expected = 1 / 3.0f; TEST_ASSERT_FLOAT_WITHIN(0.001f, expected, mem->external_frag_ratio); rt_mem_free(ptr1); rt_mem_free(ptr2); } TEST(test_mem_buddy, alloc_fail_too_large_memory) { // When unsigned int *ptr = (unsigned int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE + 1); TEST_ASSERT_NULL(ptr); rt_mem_free(ptr); } TEST(test_mem_buddy, alloc_success_max_memory) { // When unsigned int *ptr = (unsigned int *)rt_mem_alloc(OCF_RT_MEM_POOL_SIZE); TEST_ASSERT_NOT_NULL(ptr); rt_mem_free(ptr); } TEST(test_mem_buddy, external_frag_ratio_random) { //Given int N = 100; unsigned int *ptr_list[N]; int i = 0, count = 0; srand(time(NULL)); for (i = 0; i < N; i++) { int size = (rand() % 200) * 16; unsigned int *ptr = (unsigned int *)rt_mem_alloc(size); if (ptr != NULL) { ptr_list[count] = ptr; count++; RT_LOG_D(TESTBUDDYMEM, "%d | size=%d, ptr=%x\n", count, size, ptr); } } for (i = 0; i < count; i++) { RT_LOG_D(TESTBUDDYMEM, "%d / %d", i, count); rt_mem_free(ptr_list[i]); } } TEST_GROUP_RUNNER(test_mem_buddy) { RUN_TEST_CASE(test_mem_buddy, default_buddy); RUN_TEST_CASE(test_mem_buddy, getMemInfo_detect_leak); RUN_TEST_CASE(test_mem_buddy, alloc_pool_size); RUN_TEST_CASE(test_mem_buddy, alloc4_free2); RUN_TEST_CASE(test_mem_buddy, alloc_random); RUN_TEST_CASE(test_mem_buddy, alloc_fail_too_large_memory); RUN_TEST_CASE(test_mem_buddy, alloc_success_max_memory); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_default); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_4096_byte); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_half_byte); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_half_of_half_byte); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_one_of_four_three_of_eight); RUN_TEST_CASE(test_mem_buddy, external_frag_ratio_random); } #endif #ifndef CONFIG_ENABLE_RT_OCF static void RunAllTests(void) { #ifdef CONFIG_RT_OCF_BUDDY_MEM_SYS RUN_TEST_GROUP(test_mem_buddy); #endif } int main(int argc, const char *argv[]) { return UnityMain(argc, argv, RunAllTests); } #endif
the_stack_data/32949970.c
/* Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory Written by Chunhua Liao, Pei-Hung Lin, Joshua Asplund, Markus Schordan, and Ian Karlin (email: [email protected], [email protected], [email protected], [email protected], [email protected]) LLNL-CODE-732144 All rights reserved. This file is part of DataRaceBench. For details, see https://github.com/LLNL/dataracebench. Please also see the LICENSE file for our additional BSD notice. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the disclaimer below. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the disclaimer (as noted below) in the documentation and/or other materials provided with the distribution. * Neither the name of the LLNS/LLNL nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <stdio.h> #include <stdlib.h> /* One dimension array computation with finer granularity than traditional 4 bytes. Dynamic tools monitoring 4-bytes elements may wrongfuly report race condition. */ char a[100]; int main() { int i; #pragma omp target data map(tofrom: a[0:100]) { #pragma omp target parallel for for (i = 0; i < 100; i++) a[i] = i; } #pragma omp target data map(tofrom: a[0:100]) { #pragma omp target parallel for for (i = 0; i < 100; i++) a[i] = a[i] + 1; } for (i = 0; i < 100; i++) printf("%c\n", a[i]); return 0; }
the_stack_data/1258071.c
//Question1: //Write a C program which prints all integers divisible by n between 1 and 100 where value of n is //provided by the user. #include <stdio.h> void main() { int n=0; int i=0; /*taking n as input from user to check divisibility for n*/ scanf("%d", &n); /* checking divisibility for no. 1 to 100*/ for(i=1; i<=100;i++) { if(i%n==0) printf("%d\n",i); } }
the_stack_data/1137698.c
#include <stdio.h> #include <stdlib.h> #pragma warning(disable:4996) extern int* leggiinteri2(const char* filename, size_t* size){ FILE* f = fopen(filename, "rb"); if (f == NULL) { //fclose(f); NON FARE return NULL; } int* _buff = NULL; // calloc(n, sizeof(int)); // int* buff = NULL; EQUIVALE A DIRE PTR A 0/NULL int* temp = calloc(1, sizeof(int)); // equivalente a scrivere int temp; e fread(&temp, ... ); size_t ret, n = 0; for(;;) { ret = fread(temp, sizeof(int), 1, f); if (feof(f) != 0 || ferror(f) != 0 || ret != 1) { if (n == 0) { fclose(f); free(temp); return NULL; } else { fclose(f); *size = n; free(temp); return _buff; } } else { _buff = realloc(_buff, (n + 1) * sizeof(int)); *(_buff + n) = temp[0]; } ++n; } } /* if (_buff) { // Metodo Relloc fseek(f, 0, 0); for (;;) { ret = fread(&x, sizeof(int), 8, f); if (ret != n) { if (n == 1) { fclose(f); return NULL; } else break; } else { ++n; _buff = realloc(_buff, (n+1) * sizeof(int)); fseek(f, sizeof(int), (n) * sizeof(int)); } } fclose(f); *size = n; // imposto size al numero di interi trovati return _buff; } return NULL;*/
the_stack_data/31388840.c
#include <stdlib.h> int f() { return 42; } int q() { return 99; } int h(int (*fp)(void)) { return fp(); } int main() { int x = h(&f) + h(&q); __asm volatile("movl %0, %%r11d" : "=a"(x) : "a"(x) : "r11"); }
the_stack_data/67436.c
#include <unistd.h> #include <sys/types.h> #include <dirent.h> #include <stdio.h> #include <stdlib.h> #include <string.h> void read_files_from_dept(char *path) { DIR *dir; FILE *fp2; fp2 = fopen("roll_number_cwsl.sql","a+"); struct dirent *entry; if (!(dir = opendir(path))) return; while ((entry = readdir(dir)) != NULL) { char tmppath[100],tmp[100],curcourse[10]; strcpy(tmp,entry->d_name); sscanf(tmp,"%[^.].%*s",curcourse); strcpy(tmppath,path); strcat(tmppath,"/"); strcat(tmppath,entry->d_name); FILE *fp1; fp1 = fopen(tmppath,"r"); int id; long long int roll; char name[100],email[100],line[200]; while(fgets(line,200,fp1)!=NULL) { sscanf(line, "%d,%lld,%[^,],%s",&id,&roll,name,email); fprintf(fp2, "INSERT INTO cwsl VALUES ('%s',%d,%lld,'%s','%s');\n",curcourse,id,roll,name,email); fprintf(fp2, "INSERT INTO cwsl_temp VALUES ('%s',%d,%lld,'%s','%s');\n",curcourse,id,roll,name,email); fprintf(fp2, "INSERT INTO cwsl_clone VALUES ('%s',%d,%lld,'%s','%s');\n",curcourse,id,roll,name,email); } fclose(fp1); } fclose(fp2); } void read_course_credits() { FILE *fp1,*fp2; fp1 = fopen("course-credits.csv","r"); fp2 = fopen("roll_number_cc.sql","w"); char course[10],line[100]; int credits; while(fgets(line,100,fp1)!=NULL) { sscanf(line, "%[^,],%d", course,&credits); fprintf(fp2, "INSERT INTO cc VALUES ('%s',%d);\n",course,credits); fprintf(fp2, "INSERT INTO cc_temp VALUES ('%s',%d);\n",course,credits); fprintf(fp2, "INSERT INTO cc_clone VALUES ('%s',%d);\n",course,credits); } fclose(fp1); fclose(fp2); } void read_exam_time_table() { FILE *fp1,*fp2; fp1 = fopen("exam-time-table.csv","r"); fp2 = fopen("roll_number_ett.sql","w"); char course[10],date[20],stime[10],etime[10],line[200]; while(fgets(line,200,fp1)!=NULL) { sscanf(line, "%[^,],%[^,],%[^,],%s", course,date,stime,etime); fprintf(fp2, "INSERT INTO ett VALUES ('%s','%s','%s','%s');\n",course,date,stime,etime); fprintf(fp2, "INSERT INTO ett_temp VALUES ('%s','%s','%s','%s');\n",course,date,stime,etime); fprintf(fp2, "INSERT INTO ett_clone VALUES ('%s','%s','%s','%s');\n",course,date,stime,etime); } fclose(fp1); fclose(fp2); } void read_course_wise_students_list() { DIR *dir; struct dirent *entry; char curdir[100]; strcpy(curdir,"./course-wise-students-list"); if (!(dir = opendir(curdir))) return ; while ((entry = readdir(dir)) != NULL) { if (entry->d_type == DT_DIR) { if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) continue; char dept[10]; strcpy(dept,entry->d_name); char path[100]; snprintf(path, sizeof(path), "%s/%s", curdir, dept); read_files_from_dept(path); } } closedir(dir); } int main(int argc, char const *argv[]) { //will generate a file roll_number_ett.sql read_exam_time_table(); //will generate a file roll_number_ccc.sql read_course_credits(); //will generate a file roll_number_cwsl.sql read_course_wise_students_list(); return 0; }
the_stack_data/40370.c
/*********************************************************** chaos.c -- カオスとアトラクタ ***********************************************************/ #include <stdio.h> #include <stdlib.h> int main(void) { int i; double p, k; printf("比例定数: "); scanf("%lf", &k); printf("初期値 : "); scanf("%lf", &p); for (i = 1; i <= 100; i++) { printf("%10.3f", p); if (i % 4 == 0) printf("\n"); p += k * p * (1 - p); } return 0; }
the_stack_data/168892536.c
// RUN: %ucc -c %s void q(void *); main() { int f(); int x[2]; q(&f); q(&x); }
the_stack_data/68420.c
/*CH-230-A Urfan Alvani [email protected] */ #include <stdio.h> #include <stdlib.h> int count_lower(char* str) { int length=strlen(str); int counter=0,i=0; while(i < length) { if((*str >='a') && (*str <='z')) { counter++; } i++; str++; } return counter; } int main () { char sentence[50]; while(1) { fgets(sentence,sizeof(sentence),stdin); if(strlen(sentence)==1) { break; } printf("Number of small letters:%d\n",count_lower(sentence)); } return 0; }
the_stack_data/31387856.c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> #include <syslog.h> #define FILESIZE 1024 int main() { pid_t pid; time_t now; int i; char *buf = "This is a example process\n"; pid = fork(); if (pid < 0) { printf("create child process fail\n"); exit(1); } if (pid > 0) { exit(0); } setsid(); for (i = 0; i < FILESIZE; i++) { close(i); } chdir("/tmp"); umask(0); signal(SIGCHLD, SIG_IGN); syslog(LOG_USER | LOG_INFO, "Daemon test!\n"); while (1) { time(&now); syslog(LOG_USER | LOG_INFO, "now is : \t%d\t\t\n", ctime(&now)); sleep(3); } }
the_stack_data/22014026.c
/* { dg-do compile } */ /* { dg-options "-O2 -msse3" } */ /* { dg-final { scan-assembler-not "%mm" } } */ /* PR 28825 */ #include <pmmintrin.h> __m128 ggg(float* m) { return (__m128) {m[0], m[5], m[10], m[10]}; }
the_stack_data/111078029.c
/* ** 2017-12-26 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ****************************************************************************** ** ** This file implements a virtual table for reading and writing ZIP archive ** files. ** ** Usage example: ** ** SELECT name, sz, datetime(mtime,'unixepoch') FROM zipfile($filename); ** ** Current limitations: ** ** * No support for encryption ** * No support for ZIP archives spanning multiple files ** * No support for zip64 extensions ** * Only the "inflate/deflate" (zlib) compression method is supported */ #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 #include <stdio.h> #include <string.h> #include <assert.h> #include <zlib.h> #ifndef SQLITE_OMIT_VIRTUALTABLE #ifndef SQLITE_AMALGAMATION #ifndef UINT32_TYPE # ifdef HAVE_UINT32_T # define UINT32_TYPE uint32_t # else # define UINT32_TYPE unsigned int # endif #endif #ifndef UINT16_TYPE # ifdef HAVE_UINT16_T # define UINT16_TYPE uint16_t # else # define UINT16_TYPE unsigned short int # endif #endif typedef sqlite3_int64 i64; typedef unsigned char u8; typedef UINT32_TYPE u32; /* 4-byte unsigned integer */ typedef UINT16_TYPE u16; /* 2-byte unsigned integer */ #define MIN(a,b) ((a)<(b) ? (a) : (b)) #if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_MUTATION_TEST) # define SQLITE_OMIT_AUXILIARY_SAFETY_CHECKS 1 #endif #if defined(SQLITE_OMIT_AUXILIARY_SAFETY_CHECKS) # define ALWAYS(X) (1) # define NEVER(X) (0) #elif !defined(NDEBUG) # define ALWAYS(X) ((X)?1:(assert(0),0)) # define NEVER(X) ((X)?(assert(0),1):0) #else # define ALWAYS(X) (X) # define NEVER(X) (X) #endif #endif /* SQLITE_AMALGAMATION */ /* ** Definitions for mode bitmasks S_IFDIR, S_IFREG and S_IFLNK. ** ** In some ways it would be better to obtain these values from system ** header files. But, the dependency is undesirable and (a) these ** have been stable for decades, (b) the values are part of POSIX and ** are also made explicit in [man stat], and (c) are part of the ** file format for zip archives. */ #ifndef S_IFDIR # define S_IFDIR 0040000 #endif #ifndef S_IFREG # define S_IFREG 0100000 #endif #ifndef S_IFLNK # define S_IFLNK 0120000 #endif static const char ZIPFILE_SCHEMA[] = "CREATE TABLE y(" "name PRIMARY KEY," /* 0: Name of file in zip archive */ "mode," /* 1: POSIX mode for file */ "mtime," /* 2: Last modification time (secs since 1970)*/ "sz," /* 3: Size of object */ "rawdata," /* 4: Raw data */ "data," /* 5: Uncompressed data */ "method," /* 6: Compression method (integer) */ "z HIDDEN" /* 7: Name of zip file */ ") WITHOUT ROWID;"; #define ZIPFILE_F_COLUMN_IDX 7 /* Index of column "file" in the above */ #define ZIPFILE_BUFFER_SIZE (64*1024) /* ** Magic numbers used to read and write zip files. ** ** ZIPFILE_NEWENTRY_MADEBY: ** Use this value for the "version-made-by" field in new zip file ** entries. The upper byte indicates "unix", and the lower byte ** indicates that the zip file matches pkzip specification 3.0. ** This is what info-zip seems to do. ** ** ZIPFILE_NEWENTRY_REQUIRED: ** Value for "version-required-to-extract" field of new entries. ** Version 2.0 is required to support folders and deflate compression. ** ** ZIPFILE_NEWENTRY_FLAGS: ** Value for "general-purpose-bit-flags" field of new entries. Bit ** 11 means "utf-8 filename and comment". ** ** ZIPFILE_SIGNATURE_CDS: ** First 4 bytes of a valid CDS record. ** ** ZIPFILE_SIGNATURE_LFH: ** First 4 bytes of a valid LFH record. ** ** ZIPFILE_SIGNATURE_EOCD ** First 4 bytes of a valid EOCD record. */ #define ZIPFILE_EXTRA_TIMESTAMP 0x5455 #define ZIPFILE_NEWENTRY_MADEBY ((3<<8) + 30) #define ZIPFILE_NEWENTRY_REQUIRED 20 #define ZIPFILE_NEWENTRY_FLAGS 0x800 #define ZIPFILE_SIGNATURE_CDS 0x02014b50 #define ZIPFILE_SIGNATURE_LFH 0x04034b50 #define ZIPFILE_SIGNATURE_EOCD 0x06054b50 /* ** The sizes of the fixed-size part of each of the three main data ** structures in a zip archive. */ #define ZIPFILE_LFH_FIXED_SZ 30 #define ZIPFILE_EOCD_FIXED_SZ 22 #define ZIPFILE_CDS_FIXED_SZ 46 /* *** 4.3.16 End of central directory record: *** *** end of central dir signature 4 bytes (0x06054b50) *** number of this disk 2 bytes *** number of the disk with the *** start of the central directory 2 bytes *** total number of entries in the *** central directory on this disk 2 bytes *** total number of entries in *** the central directory 2 bytes *** size of the central directory 4 bytes *** offset of start of central *** directory with respect to *** the starting disk number 4 bytes *** .ZIP file comment length 2 bytes *** .ZIP file comment (variable size) */ typedef struct ZipfileEOCD ZipfileEOCD; struct ZipfileEOCD { u16 iDisk; u16 iFirstDisk; u16 nEntry; u16 nEntryTotal; u32 nSize; u32 iOffset; }; /* *** 4.3.12 Central directory structure: *** *** ... *** *** central file header signature 4 bytes (0x02014b50) *** version made by 2 bytes *** version needed to extract 2 bytes *** general purpose bit flag 2 bytes *** compression method 2 bytes *** last mod file time 2 bytes *** last mod file date 2 bytes *** crc-32 4 bytes *** compressed size 4 bytes *** uncompressed size 4 bytes *** file name length 2 bytes *** extra field length 2 bytes *** file comment length 2 bytes *** disk number start 2 bytes *** internal file attributes 2 bytes *** external file attributes 4 bytes *** relative offset of local header 4 bytes */ typedef struct ZipfileCDS ZipfileCDS; struct ZipfileCDS { u16 iVersionMadeBy; u16 iVersionExtract; u16 flags; u16 iCompression; u16 mTime; u16 mDate; u32 crc32; u32 szCompressed; u32 szUncompressed; u16 nFile; u16 nExtra; u16 nComment; u16 iDiskStart; u16 iInternalAttr; u32 iExternalAttr; u32 iOffset; char *zFile; /* Filename (sqlite3_malloc()) */ }; /* *** 4.3.7 Local file header: *** *** local file header signature 4 bytes (0x04034b50) *** version needed to extract 2 bytes *** general purpose bit flag 2 bytes *** compression method 2 bytes *** last mod file time 2 bytes *** last mod file date 2 bytes *** crc-32 4 bytes *** compressed size 4 bytes *** uncompressed size 4 bytes *** file name length 2 bytes *** extra field length 2 bytes *** */ typedef struct ZipfileLFH ZipfileLFH; struct ZipfileLFH { u16 iVersionExtract; u16 flags; u16 iCompression; u16 mTime; u16 mDate; u32 crc32; u32 szCompressed; u32 szUncompressed; u16 nFile; u16 nExtra; }; typedef struct ZipfileEntry ZipfileEntry; struct ZipfileEntry { ZipfileCDS cds; /* Parsed CDS record */ u32 mUnixTime; /* Modification time, in UNIX format */ u8 *aExtra; /* cds.nExtra+cds.nComment bytes of extra data */ i64 iDataOff; /* Offset to data in file (if aData==0) */ u8 *aData; /* cds.szCompressed bytes of compressed data */ ZipfileEntry *pNext; /* Next element in in-memory CDS */ }; /* ** Cursor type for zipfile tables. */ typedef struct ZipfileCsr ZipfileCsr; struct ZipfileCsr { sqlite3_vtab_cursor base; /* Base class - must be first */ i64 iId; /* Cursor ID */ u8 bEof; /* True when at EOF */ u8 bNoop; /* If next xNext() call is no-op */ /* Used outside of write transactions */ FILE *pFile; /* Zip file */ i64 iNextOff; /* Offset of next record in central directory */ ZipfileEOCD eocd; /* Parse of central directory record */ ZipfileEntry *pFreeEntry; /* Free this list when cursor is closed or reset */ ZipfileEntry *pCurrent; /* Current entry */ ZipfileCsr *pCsrNext; /* Next cursor on same virtual table */ }; typedef struct ZipfileTab ZipfileTab; struct ZipfileTab { sqlite3_vtab base; /* Base class - must be first */ char *zFile; /* Zip file this table accesses (may be NULL) */ sqlite3 *db; /* Host database connection */ u8 *aBuffer; /* Temporary buffer used for various tasks */ ZipfileCsr *pCsrList; /* List of cursors */ i64 iNextCsrid; /* The following are used by write transactions only */ ZipfileEntry *pFirstEntry; /* Linked list of all files (if pWriteFd!=0) */ ZipfileEntry *pLastEntry; /* Last element in pFirstEntry list */ FILE *pWriteFd; /* File handle open on zip archive */ i64 szCurrent; /* Current size of zip archive */ i64 szOrig; /* Size of archive at start of transaction */ }; /* ** Set the error message contained in context ctx to the results of ** vprintf(zFmt, ...). */ static void zipfileCtxErrorMsg(sqlite3_context *ctx, const char *zFmt, ...){ char *zMsg = 0; va_list ap; va_start(ap, zFmt); zMsg = sqlite3_vmprintf(zFmt, ap); sqlite3_result_error(ctx, zMsg, -1); sqlite3_free(zMsg); va_end(ap); } /* ** If string zIn is quoted, dequote it in place. Otherwise, if the string ** is not quoted, do nothing. */ static void zipfileDequote(char *zIn){ char q = zIn[0]; if( q=='"' || q=='\'' || q=='`' || q=='[' ){ int iIn = 1; int iOut = 0; if( q=='[' ) q = ']'; while( ALWAYS(zIn[iIn]) ){ char c = zIn[iIn++]; if( c==q && zIn[iIn++]!=q ) break; zIn[iOut++] = c; } zIn[iOut] = '\0'; } } /* ** Construct a new ZipfileTab virtual table object. ** ** argv[0] -> module name ("zipfile") ** argv[1] -> database name ** argv[2] -> table name ** argv[...] -> "column name" and other module argument fields. */ static int zipfileConnect( sqlite3 *db, void *pAux, int argc, const char *const*argv, sqlite3_vtab **ppVtab, char **pzErr ){ int nByte = sizeof(ZipfileTab) + ZIPFILE_BUFFER_SIZE; int nFile = 0; const char *zFile = 0; ZipfileTab *pNew = 0; int rc; /* If the table name is not "zipfile", require that the argument be ** specified. This stops zipfile tables from being created as: ** ** CREATE VIRTUAL TABLE zzz USING zipfile(); ** ** It does not prevent: ** ** CREATE VIRTUAL TABLE zipfile USING zipfile(); */ assert( 0==sqlite3_stricmp(argv[0], "zipfile") ); if( (0!=sqlite3_stricmp(argv[2], "zipfile") && argc<4) || argc>4 ){ *pzErr = sqlite3_mprintf("zipfile constructor requires one argument"); return SQLITE_ERROR; } if( argc>3 ){ zFile = argv[3]; nFile = (int)strlen(zFile)+1; } rc = sqlite3_declare_vtab(db, ZIPFILE_SCHEMA); if( rc==SQLITE_OK ){ pNew = (ZipfileTab*)sqlite3_malloc64((sqlite3_int64)nByte+nFile); if( pNew==0 ) return SQLITE_NOMEM; memset(pNew, 0, nByte+nFile); pNew->db = db; pNew->aBuffer = (u8*)&pNew[1]; if( zFile ){ pNew->zFile = (char*)&pNew->aBuffer[ZIPFILE_BUFFER_SIZE]; memcpy(pNew->zFile, zFile, nFile); zipfileDequote(pNew->zFile); } } sqlite3_vtab_config(db, SQLITE_VTAB_DIRECTONLY); *ppVtab = (sqlite3_vtab*)pNew; return rc; } /* ** Free the ZipfileEntry structure indicated by the only argument. */ static void zipfileEntryFree(ZipfileEntry *p){ if( p ){ sqlite3_free(p->cds.zFile); sqlite3_free(p); } } /* ** Release resources that should be freed at the end of a write ** transaction. */ static void zipfileCleanupTransaction(ZipfileTab *pTab){ ZipfileEntry *pEntry; ZipfileEntry *pNext; if( pTab->pWriteFd ){ fclose(pTab->pWriteFd); pTab->pWriteFd = 0; } for(pEntry=pTab->pFirstEntry; pEntry; pEntry=pNext){ pNext = pEntry->pNext; zipfileEntryFree(pEntry); } pTab->pFirstEntry = 0; pTab->pLastEntry = 0; pTab->szCurrent = 0; pTab->szOrig = 0; } /* ** This method is the destructor for zipfile vtab objects. */ static int zipfileDisconnect(sqlite3_vtab *pVtab){ zipfileCleanupTransaction((ZipfileTab*)pVtab); sqlite3_free(pVtab); return SQLITE_OK; } /* ** Constructor for a new ZipfileCsr object. */ static int zipfileOpen(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCsr){ ZipfileTab *pTab = (ZipfileTab*)p; ZipfileCsr *pCsr; pCsr = sqlite3_malloc(sizeof(*pCsr)); *ppCsr = (sqlite3_vtab_cursor*)pCsr; if( pCsr==0 ){ return SQLITE_NOMEM; } memset(pCsr, 0, sizeof(*pCsr)); pCsr->iId = ++pTab->iNextCsrid; pCsr->pCsrNext = pTab->pCsrList; pTab->pCsrList = pCsr; return SQLITE_OK; } /* ** Reset a cursor back to the state it was in when first returned ** by zipfileOpen(). */ static void zipfileResetCursor(ZipfileCsr *pCsr){ ZipfileEntry *p; ZipfileEntry *pNext; pCsr->bEof = 0; if( pCsr->pFile ){ fclose(pCsr->pFile); pCsr->pFile = 0; zipfileEntryFree(pCsr->pCurrent); pCsr->pCurrent = 0; } for(p=pCsr->pFreeEntry; p; p=pNext){ pNext = p->pNext; zipfileEntryFree(p); } } /* ** Destructor for an ZipfileCsr. */ static int zipfileClose(sqlite3_vtab_cursor *cur){ ZipfileCsr *pCsr = (ZipfileCsr*)cur; ZipfileTab *pTab = (ZipfileTab*)(pCsr->base.pVtab); ZipfileCsr **pp; zipfileResetCursor(pCsr); /* Remove this cursor from the ZipfileTab.pCsrList list. */ for(pp=&pTab->pCsrList; *pp!=pCsr; pp=&((*pp)->pCsrNext)); *pp = pCsr->pCsrNext; sqlite3_free(pCsr); return SQLITE_OK; } /* ** Set the error message for the virtual table associated with cursor ** pCsr to the results of vprintf(zFmt, ...). */ static void zipfileTableErr(ZipfileTab *pTab, const char *zFmt, ...){ va_list ap; va_start(ap, zFmt); sqlite3_free(pTab->base.zErrMsg); pTab->base.zErrMsg = sqlite3_vmprintf(zFmt, ap); va_end(ap); } static void zipfileCursorErr(ZipfileCsr *pCsr, const char *zFmt, ...){ va_list ap; va_start(ap, zFmt); sqlite3_free(pCsr->base.pVtab->zErrMsg); pCsr->base.pVtab->zErrMsg = sqlite3_vmprintf(zFmt, ap); va_end(ap); } /* ** Read nRead bytes of data from offset iOff of file pFile into buffer ** aRead[]. Return SQLITE_OK if successful, or an SQLite error code ** otherwise. ** ** If an error does occur, output variable (*pzErrmsg) may be set to point ** to an English language error message. It is the responsibility of the ** caller to eventually free this buffer using ** sqlite3_free(). */ static int zipfileReadData( FILE *pFile, /* Read from this file */ u8 *aRead, /* Read into this buffer */ int nRead, /* Number of bytes to read */ i64 iOff, /* Offset to read from */ char **pzErrmsg /* OUT: Error message (from sqlite3_malloc) */ ){ size_t n; fseek(pFile, (long)iOff, SEEK_SET); n = fread(aRead, 1, nRead, pFile); if( (int)n!=nRead ){ *pzErrmsg = sqlite3_mprintf("error in fread()"); return SQLITE_ERROR; } return SQLITE_OK; } static int zipfileAppendData( ZipfileTab *pTab, const u8 *aWrite, int nWrite ){ if( nWrite>0 ){ size_t n = nWrite; fseek(pTab->pWriteFd, (long)pTab->szCurrent, SEEK_SET); n = fwrite(aWrite, 1, nWrite, pTab->pWriteFd); if( (int)n!=nWrite ){ pTab->base.zErrMsg = sqlite3_mprintf("error in fwrite()"); return SQLITE_ERROR; } pTab->szCurrent += nWrite; } return SQLITE_OK; } /* ** Read and return a 16-bit little-endian unsigned integer from buffer aBuf. */ static u16 zipfileGetU16(const u8 *aBuf){ return (aBuf[1] << 8) + aBuf[0]; } /* ** Read and return a 32-bit little-endian unsigned integer from buffer aBuf. */ static u32 zipfileGetU32(const u8 *aBuf){ if( aBuf==0 ) return 0; return ((u32)(aBuf[3]) << 24) + ((u32)(aBuf[2]) << 16) + ((u32)(aBuf[1]) << 8) + ((u32)(aBuf[0]) << 0); } /* ** Write a 16-bit little endiate integer into buffer aBuf. */ static void zipfilePutU16(u8 *aBuf, u16 val){ aBuf[0] = val & 0xFF; aBuf[1] = (val>>8) & 0xFF; } /* ** Write a 32-bit little endiate integer into buffer aBuf. */ static void zipfilePutU32(u8 *aBuf, u32 val){ aBuf[0] = val & 0xFF; aBuf[1] = (val>>8) & 0xFF; aBuf[2] = (val>>16) & 0xFF; aBuf[3] = (val>>24) & 0xFF; } #define zipfileRead32(aBuf) ( aBuf+=4, zipfileGetU32(aBuf-4) ) #define zipfileRead16(aBuf) ( aBuf+=2, zipfileGetU16(aBuf-2) ) #define zipfileWrite32(aBuf,val) { zipfilePutU32(aBuf,val); aBuf+=4; } #define zipfileWrite16(aBuf,val) { zipfilePutU16(aBuf,val); aBuf+=2; } /* ** Magic numbers used to read CDS records. */ #define ZIPFILE_CDS_NFILE_OFF 28 #define ZIPFILE_CDS_SZCOMPRESSED_OFF 20 /* ** Decode the CDS record in buffer aBuf into (*pCDS). Return SQLITE_ERROR ** if the record is not well-formed, or SQLITE_OK otherwise. */ static int zipfileReadCDS(u8 *aBuf, ZipfileCDS *pCDS){ u8 *aRead = aBuf; u32 sig = zipfileRead32(aRead); int rc = SQLITE_OK; if( sig!=ZIPFILE_SIGNATURE_CDS ){ rc = SQLITE_ERROR; }else{ pCDS->iVersionMadeBy = zipfileRead16(aRead); pCDS->iVersionExtract = zipfileRead16(aRead); pCDS->flags = zipfileRead16(aRead); pCDS->iCompression = zipfileRead16(aRead); pCDS->mTime = zipfileRead16(aRead); pCDS->mDate = zipfileRead16(aRead); pCDS->crc32 = zipfileRead32(aRead); pCDS->szCompressed = zipfileRead32(aRead); pCDS->szUncompressed = zipfileRead32(aRead); assert( aRead==&aBuf[ZIPFILE_CDS_NFILE_OFF] ); pCDS->nFile = zipfileRead16(aRead); pCDS->nExtra = zipfileRead16(aRead); pCDS->nComment = zipfileRead16(aRead); pCDS->iDiskStart = zipfileRead16(aRead); pCDS->iInternalAttr = zipfileRead16(aRead); pCDS->iExternalAttr = zipfileRead32(aRead); pCDS->iOffset = zipfileRead32(aRead); assert( aRead==&aBuf[ZIPFILE_CDS_FIXED_SZ] ); } return rc; } /* ** Decode the LFH record in buffer aBuf into (*pLFH). Return SQLITE_ERROR ** if the record is not well-formed, or SQLITE_OK otherwise. */ static int zipfileReadLFH( u8 *aBuffer, ZipfileLFH *pLFH ){ u8 *aRead = aBuffer; int rc = SQLITE_OK; u32 sig = zipfileRead32(aRead); if( sig!=ZIPFILE_SIGNATURE_LFH ){ rc = SQLITE_ERROR; }else{ pLFH->iVersionExtract = zipfileRead16(aRead); pLFH->flags = zipfileRead16(aRead); pLFH->iCompression = zipfileRead16(aRead); pLFH->mTime = zipfileRead16(aRead); pLFH->mDate = zipfileRead16(aRead); pLFH->crc32 = zipfileRead32(aRead); pLFH->szCompressed = zipfileRead32(aRead); pLFH->szUncompressed = zipfileRead32(aRead); pLFH->nFile = zipfileRead16(aRead); pLFH->nExtra = zipfileRead16(aRead); } return rc; } /* ** Buffer aExtra (size nExtra bytes) contains zip archive "extra" fields. ** Scan through this buffer to find an "extra-timestamp" field. If one ** exists, extract the 32-bit modification-timestamp from it and store ** the value in output parameter *pmTime. ** ** Zero is returned if no extra-timestamp record could be found (and so ** *pmTime is left unchanged), or non-zero otherwise. ** ** The general format of an extra field is: ** ** Header ID 2 bytes ** Data Size 2 bytes ** Data N bytes */ static int zipfileScanExtra(u8 *aExtra, int nExtra, u32 *pmTime){ int ret = 0; u8 *p = aExtra; u8 *pEnd = &aExtra[nExtra]; while( p<pEnd ){ u16 id = zipfileRead16(p); u16 nByte = zipfileRead16(p); switch( id ){ case ZIPFILE_EXTRA_TIMESTAMP: { u8 b = p[0]; if( b & 0x01 ){ /* 0x01 -> modtime is present */ *pmTime = zipfileGetU32(&p[1]); ret = 1; } break; } } p += nByte; } return ret; } /* ** Convert the standard MS-DOS timestamp stored in the mTime and mDate ** fields of the CDS structure passed as the only argument to a 32-bit ** UNIX seconds-since-the-epoch timestamp. Return the result. ** ** "Standard" MS-DOS time format: ** ** File modification time: ** Bits 00-04: seconds divided by 2 ** Bits 05-10: minute ** Bits 11-15: hour ** File modification date: ** Bits 00-04: day ** Bits 05-08: month (1-12) ** Bits 09-15: years from 1980 ** ** https://msdn.microsoft.com/en-us/library/9kkf9tah.aspx */ static u32 zipfileMtime(ZipfileCDS *pCDS){ int Y,M,D,X1,X2,A,B,sec,min,hr; i64 JDsec; Y = (1980 + ((pCDS->mDate >> 9) & 0x7F)); M = ((pCDS->mDate >> 5) & 0x0F); D = (pCDS->mDate & 0x1F); sec = (pCDS->mTime & 0x1F)*2; min = (pCDS->mTime >> 5) & 0x3F; hr = (pCDS->mTime >> 11) & 0x1F; if( M<=2 ){ Y--; M += 12; } X1 = 36525*(Y+4716)/100; X2 = 306001*(M+1)/10000; A = Y/100; B = 2 - A + (A/4); JDsec = (i64)((X1 + X2 + D + B - 1524.5)*86400) + hr*3600 + min*60 + sec; return (u32)(JDsec - (i64)24405875*(i64)8640); } /* ** The opposite of zipfileMtime(). This function populates the mTime and ** mDate fields of the CDS structure passed as the first argument according ** to the UNIX timestamp value passed as the second. */ static void zipfileMtimeToDos(ZipfileCDS *pCds, u32 mUnixTime){ /* Convert unix timestamp to JD (2440588 is noon on 1/1/1970) */ i64 JD = (i64)2440588 + mUnixTime / (24*60*60); int A, B, C, D, E; int yr, mon, day; int hr, min, sec; A = (int)((JD - 1867216.25)/36524.25); A = (int)(JD + 1 + A - (A/4)); B = A + 1524; C = (int)((B - 122.1)/365.25); D = (36525*(C&32767))/100; E = (int)((B-D)/30.6001); day = B - D - (int)(30.6001*E); mon = (E<14 ? E-1 : E-13); yr = mon>2 ? C-4716 : C-4715; hr = (mUnixTime % (24*60*60)) / (60*60); min = (mUnixTime % (60*60)) / 60; sec = (mUnixTime % 60); if( yr>=1980 ){ pCds->mDate = (u16)(day + (mon << 5) + ((yr-1980) << 9)); pCds->mTime = (u16)(sec/2 + (min<<5) + (hr<<11)); }else{ pCds->mDate = pCds->mTime = 0; } assert( mUnixTime<315507600 || mUnixTime==zipfileMtime(pCds) || ((mUnixTime % 2) && mUnixTime-1==zipfileMtime(pCds)) /* || (mUnixTime % 2) */ ); } /* ** If aBlob is not NULL, then it is a pointer to a buffer (nBlob bytes in ** size) containing an entire zip archive image. Or, if aBlob is NULL, ** then pFile is a file-handle open on a zip file. In either case, this ** function creates a ZipfileEntry object based on the zip archive entry ** for which the CDS record is at offset iOff. ** ** If successful, SQLITE_OK is returned and (*ppEntry) set to point to ** the new object. Otherwise, an SQLite error code is returned and the ** final value of (*ppEntry) undefined. */ static int zipfileGetEntry( ZipfileTab *pTab, /* Store any error message here */ const u8 *aBlob, /* Pointer to in-memory file image */ int nBlob, /* Size of aBlob[] in bytes */ FILE *pFile, /* If aBlob==0, read from this file */ i64 iOff, /* Offset of CDS record */ ZipfileEntry **ppEntry /* OUT: Pointer to new object */ ){ u8 *aRead; char **pzErr = &pTab->base.zErrMsg; int rc = SQLITE_OK; if( aBlob==0 ){ aRead = pTab->aBuffer; rc = zipfileReadData(pFile, aRead, ZIPFILE_CDS_FIXED_SZ, iOff, pzErr); }else{ aRead = (u8*)&aBlob[iOff]; } if( rc==SQLITE_OK ){ sqlite3_int64 nAlloc; ZipfileEntry *pNew; int nFile = zipfileGetU16(&aRead[ZIPFILE_CDS_NFILE_OFF]); int nExtra = zipfileGetU16(&aRead[ZIPFILE_CDS_NFILE_OFF+2]); nExtra += zipfileGetU16(&aRead[ZIPFILE_CDS_NFILE_OFF+4]); nAlloc = sizeof(ZipfileEntry) + nExtra; if( aBlob ){ nAlloc += zipfileGetU32(&aRead[ZIPFILE_CDS_SZCOMPRESSED_OFF]); } pNew = (ZipfileEntry*)sqlite3_malloc64(nAlloc); if( pNew==0 ){ rc = SQLITE_NOMEM; }else{ memset(pNew, 0, sizeof(ZipfileEntry)); rc = zipfileReadCDS(aRead, &pNew->cds); if( rc!=SQLITE_OK ){ *pzErr = sqlite3_mprintf("failed to read CDS at offset %lld", iOff); }else if( aBlob==0 ){ rc = zipfileReadData( pFile, aRead, nExtra+nFile, iOff+ZIPFILE_CDS_FIXED_SZ, pzErr ); }else{ aRead = (u8*)&aBlob[iOff + ZIPFILE_CDS_FIXED_SZ]; } } if( rc==SQLITE_OK ){ u32 *pt = &pNew->mUnixTime; pNew->cds.zFile = sqlite3_mprintf("%.*s", nFile, aRead); pNew->aExtra = (u8*)&pNew[1]; memcpy(pNew->aExtra, &aRead[nFile], nExtra); if( pNew->cds.zFile==0 ){ rc = SQLITE_NOMEM; }else if( 0==zipfileScanExtra(&aRead[nFile], pNew->cds.nExtra, pt) ){ pNew->mUnixTime = zipfileMtime(&pNew->cds); } } if( rc==SQLITE_OK ){ static const int szFix = ZIPFILE_LFH_FIXED_SZ; ZipfileLFH lfh; if( pFile ){ rc = zipfileReadData(pFile, aRead, szFix, pNew->cds.iOffset, pzErr); }else{ aRead = (u8*)&aBlob[pNew->cds.iOffset]; } if( rc==SQLITE_OK ) rc = zipfileReadLFH(aRead, &lfh); if( rc==SQLITE_OK ){ pNew->iDataOff = pNew->cds.iOffset + ZIPFILE_LFH_FIXED_SZ; pNew->iDataOff += lfh.nFile + lfh.nExtra; if( aBlob && pNew->cds.szCompressed ){ pNew->aData = &pNew->aExtra[nExtra]; memcpy(pNew->aData, &aBlob[pNew->iDataOff], pNew->cds.szCompressed); } }else{ *pzErr = sqlite3_mprintf("failed to read LFH at offset %d", (int)pNew->cds.iOffset ); } } if( rc!=SQLITE_OK ){ zipfileEntryFree(pNew); }else{ *ppEntry = pNew; } } return rc; } /* ** Advance an ZipfileCsr to its next row of output. */ static int zipfileNext(sqlite3_vtab_cursor *cur){ ZipfileCsr *pCsr = (ZipfileCsr*)cur; int rc = SQLITE_OK; if( pCsr->pFile ){ i64 iEof = pCsr->eocd.iOffset + pCsr->eocd.nSize; zipfileEntryFree(pCsr->pCurrent); pCsr->pCurrent = 0; if( pCsr->iNextOff>=iEof ){ pCsr->bEof = 1; }else{ ZipfileEntry *p = 0; ZipfileTab *pTab = (ZipfileTab*)(cur->pVtab); rc = zipfileGetEntry(pTab, 0, 0, pCsr->pFile, pCsr->iNextOff, &p); if( rc==SQLITE_OK ){ pCsr->iNextOff += ZIPFILE_CDS_FIXED_SZ; pCsr->iNextOff += (int)p->cds.nExtra + p->cds.nFile + p->cds.nComment; } pCsr->pCurrent = p; } }else{ if( !pCsr->bNoop ){ pCsr->pCurrent = pCsr->pCurrent->pNext; } if( pCsr->pCurrent==0 ){ pCsr->bEof = 1; } } pCsr->bNoop = 0; return rc; } static void zipfileFree(void *p) { sqlite3_free(p); } /* ** Buffer aIn (size nIn bytes) contains compressed data. Uncompressed, the ** size is nOut bytes. This function uncompresses the data and sets the ** return value in context pCtx to the result (a blob). ** ** If an error occurs, an error code is left in pCtx instead. */ static void zipfileInflate( sqlite3_context *pCtx, /* Store result here */ const u8 *aIn, /* Compressed data */ int nIn, /* Size of buffer aIn[] in bytes */ int nOut /* Expected output size */ ){ u8 *aRes = sqlite3_malloc(nOut); if( aRes==0 ){ sqlite3_result_error_nomem(pCtx); }else{ int err; z_stream str; memset(&str, 0, sizeof(str)); str.next_in = (Byte*)aIn; str.avail_in = nIn; str.next_out = (Byte*)aRes; str.avail_out = nOut; err = inflateInit2(&str, -15); if( err!=Z_OK ){ zipfileCtxErrorMsg(pCtx, "inflateInit2() failed (%d)", err); }else{ err = inflate(&str, Z_NO_FLUSH); if( err!=Z_STREAM_END ){ zipfileCtxErrorMsg(pCtx, "inflate() failed (%d)", err); }else{ sqlite3_result_blob(pCtx, aRes, nOut, zipfileFree); aRes = 0; } } sqlite3_free(aRes); inflateEnd(&str); } } /* ** Buffer aIn (size nIn bytes) contains uncompressed data. This function ** compresses it and sets (*ppOut) to point to a buffer containing the ** compressed data. The caller is responsible for eventually calling ** sqlite3_free() to release buffer (*ppOut). Before returning, (*pnOut) ** is set to the size of buffer (*ppOut) in bytes. ** ** If no error occurs, SQLITE_OK is returned. Otherwise, an SQLite error ** code is returned and an error message left in virtual-table handle ** pTab. The values of (*ppOut) and (*pnOut) are left unchanged in this ** case. */ static int zipfileDeflate( const u8 *aIn, int nIn, /* Input */ u8 **ppOut, int *pnOut, /* Output */ char **pzErr /* OUT: Error message */ ){ int rc = SQLITE_OK; sqlite3_int64 nAlloc; z_stream str; u8 *aOut; memset(&str, 0, sizeof(str)); str.next_in = (Bytef*)aIn; str.avail_in = nIn; deflateInit2(&str, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY); nAlloc = deflateBound(&str, nIn); aOut = (u8*)sqlite3_malloc64(nAlloc); if( aOut==0 ){ rc = SQLITE_NOMEM; }else{ int res; str.next_out = aOut; str.avail_out = nAlloc; res = deflate(&str, Z_FINISH); if( res==Z_STREAM_END ){ *ppOut = aOut; *pnOut = (int)str.total_out; }else{ sqlite3_free(aOut); *pzErr = sqlite3_mprintf("zipfile: deflate() error"); rc = SQLITE_ERROR; } deflateEnd(&str); } return rc; } /* ** Return values of columns for the row at which the series_cursor ** is currently pointing. */ static int zipfileColumn( sqlite3_vtab_cursor *cur, /* The cursor */ sqlite3_context *ctx, /* First argument to sqlite3_result_...() */ int i /* Which column to return */ ){ ZipfileCsr *pCsr = (ZipfileCsr*)cur; ZipfileCDS *pCDS = &pCsr->pCurrent->cds; int rc = SQLITE_OK; switch( i ){ case 0: /* name */ sqlite3_result_text(ctx, pCDS->zFile, -1, SQLITE_TRANSIENT); break; case 1: /* mode */ /* TODO: Whether or not the following is correct surely depends on ** the platform on which the archive was created. */ sqlite3_result_int(ctx, pCDS->iExternalAttr >> 16); break; case 2: { /* mtime */ sqlite3_result_int64(ctx, pCsr->pCurrent->mUnixTime); break; } case 3: { /* sz */ if( sqlite3_vtab_nochange(ctx)==0 ){ sqlite3_result_int64(ctx, pCDS->szUncompressed); } break; } case 4: /* rawdata */ if( sqlite3_vtab_nochange(ctx) ) break; case 5: { /* data */ if( i==4 || pCDS->iCompression==0 || pCDS->iCompression==8 ){ int sz = pCDS->szCompressed; int szFinal = pCDS->szUncompressed; if( szFinal>0 ){ u8 *aBuf; u8 *aFree = 0; if( pCsr->pCurrent->aData ){ aBuf = pCsr->pCurrent->aData; }else{ aBuf = aFree = sqlite3_malloc64(sz); if( aBuf==0 ){ rc = SQLITE_NOMEM; }else{ FILE *pFile = pCsr->pFile; if( pFile==0 ){ pFile = ((ZipfileTab*)(pCsr->base.pVtab))->pWriteFd; } rc = zipfileReadData(pFile, aBuf, sz, pCsr->pCurrent->iDataOff, &pCsr->base.pVtab->zErrMsg ); } } if( rc==SQLITE_OK ){ if( i==5 && pCDS->iCompression ){ zipfileInflate(ctx, aBuf, sz, szFinal); }else{ sqlite3_result_blob(ctx, aBuf, sz, SQLITE_TRANSIENT); } } sqlite3_free(aFree); }else{ /* Figure out if this is a directory or a zero-sized file. Consider ** it to be a directory either if the mode suggests so, or if ** the final character in the name is '/'. */ u32 mode = pCDS->iExternalAttr >> 16; if( !(mode & S_IFDIR) && pCDS->zFile[pCDS->nFile-1]!='/' ){ sqlite3_result_blob(ctx, "", 0, SQLITE_STATIC); } } } break; } case 6: /* method */ sqlite3_result_int(ctx, pCDS->iCompression); break; default: /* z */ assert( i==7 ); sqlite3_result_int64(ctx, pCsr->iId); break; } return rc; } /* ** Return TRUE if the cursor is at EOF. */ static int zipfileEof(sqlite3_vtab_cursor *cur){ ZipfileCsr *pCsr = (ZipfileCsr*)cur; return pCsr->bEof; } /* ** If aBlob is not NULL, then it points to a buffer nBlob bytes in size ** containing an entire zip archive image. Or, if aBlob is NULL, then pFile ** is guaranteed to be a file-handle open on a zip file. ** ** This function attempts to locate the EOCD record within the zip archive ** and populate *pEOCD with the results of decoding it. SQLITE_OK is ** returned if successful. Otherwise, an SQLite error code is returned and ** an English language error message may be left in virtual-table pTab. */ static int zipfileReadEOCD( ZipfileTab *pTab, /* Return errors here */ const u8 *aBlob, /* Pointer to in-memory file image */ int nBlob, /* Size of aBlob[] in bytes */ FILE *pFile, /* Read from this file if aBlob==0 */ ZipfileEOCD *pEOCD /* Object to populate */ ){ u8 *aRead = pTab->aBuffer; /* Temporary buffer */ int nRead; /* Bytes to read from file */ int rc = SQLITE_OK; memset(pEOCD, 0, sizeof(ZipfileEOCD)); if( aBlob==0 ){ i64 iOff; /* Offset to read from */ i64 szFile; /* Total size of file in bytes */ fseek(pFile, 0, SEEK_END); szFile = (i64)ftell(pFile); if( szFile==0 ){ return SQLITE_OK; } nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); iOff = szFile - nRead; rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); }else{ nRead = (int)(MIN(nBlob, ZIPFILE_BUFFER_SIZE)); aRead = (u8*)&aBlob[nBlob-nRead]; } if( rc==SQLITE_OK ){ int i; /* Scan backwards looking for the signature bytes */ for(i=nRead-20; i>=0; i--){ if( aRead[i]==0x50 && aRead[i+1]==0x4b && aRead[i+2]==0x05 && aRead[i+3]==0x06 ){ break; } } if( i<0 ){ pTab->base.zErrMsg = sqlite3_mprintf( "cannot find end of central directory record" ); return SQLITE_ERROR; } aRead += i+4; pEOCD->iDisk = zipfileRead16(aRead); pEOCD->iFirstDisk = zipfileRead16(aRead); pEOCD->nEntry = zipfileRead16(aRead); pEOCD->nEntryTotal = zipfileRead16(aRead); pEOCD->nSize = zipfileRead32(aRead); pEOCD->iOffset = zipfileRead32(aRead); } return rc; } /* ** Add object pNew to the linked list that begins at ZipfileTab.pFirstEntry ** and ends with pLastEntry. If argument pBefore is NULL, then pNew is added ** to the end of the list. Otherwise, it is added to the list immediately ** before pBefore (which is guaranteed to be a part of said list). */ static void zipfileAddEntry( ZipfileTab *pTab, ZipfileEntry *pBefore, ZipfileEntry *pNew ){ assert( (pTab->pFirstEntry==0)==(pTab->pLastEntry==0) ); assert( pNew->pNext==0 ); if( pBefore==0 ){ if( pTab->pFirstEntry==0 ){ pTab->pFirstEntry = pTab->pLastEntry = pNew; }else{ assert( pTab->pLastEntry->pNext==0 ); pTab->pLastEntry->pNext = pNew; pTab->pLastEntry = pNew; } }else{ ZipfileEntry **pp; for(pp=&pTab->pFirstEntry; *pp!=pBefore; pp=&((*pp)->pNext)); pNew->pNext = pBefore; *pp = pNew; } } static int zipfileLoadDirectory(ZipfileTab *pTab, const u8 *aBlob, int nBlob){ ZipfileEOCD eocd; int rc; int i; i64 iOff; rc = zipfileReadEOCD(pTab, aBlob, nBlob, pTab->pWriteFd, &eocd); iOff = eocd.iOffset; for(i=0; rc==SQLITE_OK && i<eocd.nEntry; i++){ ZipfileEntry *pNew = 0; rc = zipfileGetEntry(pTab, aBlob, nBlob, pTab->pWriteFd, iOff, &pNew); if( rc==SQLITE_OK ){ zipfileAddEntry(pTab, 0, pNew); iOff += ZIPFILE_CDS_FIXED_SZ; iOff += (int)pNew->cds.nExtra + pNew->cds.nFile + pNew->cds.nComment; } } return rc; } /* ** xFilter callback. */ static int zipfileFilter( sqlite3_vtab_cursor *cur, int idxNum, const char *idxStr, int argc, sqlite3_value **argv ){ ZipfileTab *pTab = (ZipfileTab*)cur->pVtab; ZipfileCsr *pCsr = (ZipfileCsr*)cur; const char *zFile = 0; /* Zip file to scan */ int rc = SQLITE_OK; /* Return Code */ int bInMemory = 0; /* True for an in-memory zipfile */ zipfileResetCursor(pCsr); if( pTab->zFile ){ zFile = pTab->zFile; }else if( idxNum==0 ){ zipfileCursorErr(pCsr, "zipfile() function requires an argument"); return SQLITE_ERROR; }else if( sqlite3_value_type(argv[0])==SQLITE_BLOB ){ const u8 *aBlob = (const u8*)sqlite3_value_blob(argv[0]); int nBlob = sqlite3_value_bytes(argv[0]); assert( pTab->pFirstEntry==0 ); rc = zipfileLoadDirectory(pTab, aBlob, nBlob); pCsr->pFreeEntry = pTab->pFirstEntry; pTab->pFirstEntry = pTab->pLastEntry = 0; if( rc!=SQLITE_OK ) return rc; bInMemory = 1; }else{ zFile = (const char*)sqlite3_value_text(argv[0]); } if( 0==pTab->pWriteFd && 0==bInMemory ){ pCsr->pFile = fopen(zFile, "rb"); if( pCsr->pFile==0 ){ zipfileCursorErr(pCsr, "cannot open file: %s", zFile); rc = SQLITE_ERROR; }else{ rc = zipfileReadEOCD(pTab, 0, 0, pCsr->pFile, &pCsr->eocd); if( rc==SQLITE_OK ){ if( pCsr->eocd.nEntry==0 ){ pCsr->bEof = 1; }else{ pCsr->iNextOff = pCsr->eocd.iOffset; rc = zipfileNext(cur); } } } }else{ pCsr->bNoop = 1; pCsr->pCurrent = pCsr->pFreeEntry ? pCsr->pFreeEntry : pTab->pFirstEntry; rc = zipfileNext(cur); } return rc; } /* ** xBestIndex callback. */ static int zipfileBestIndex( sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo ){ int i; int idx = -1; int unusable = 0; for(i=0; i<pIdxInfo->nConstraint; i++){ const struct sqlite3_index_constraint *pCons = &pIdxInfo->aConstraint[i]; if( pCons->iColumn!=ZIPFILE_F_COLUMN_IDX ) continue; if( pCons->usable==0 ){ unusable = 1; }else if( pCons->op==SQLITE_INDEX_CONSTRAINT_EQ ){ idx = i; } } pIdxInfo->estimatedCost = 1000.0; if( idx>=0 ){ pIdxInfo->aConstraintUsage[idx].argvIndex = 1; pIdxInfo->aConstraintUsage[idx].omit = 1; pIdxInfo->idxNum = 1; }else if( unusable ){ return SQLITE_CONSTRAINT; } return SQLITE_OK; } static ZipfileEntry *zipfileNewEntry(const char *zPath){ ZipfileEntry *pNew; pNew = sqlite3_malloc(sizeof(ZipfileEntry)); if( pNew ){ memset(pNew, 0, sizeof(ZipfileEntry)); pNew->cds.zFile = sqlite3_mprintf("%s", zPath); if( pNew->cds.zFile==0 ){ sqlite3_free(pNew); pNew = 0; } } return pNew; } static int zipfileSerializeLFH(ZipfileEntry *pEntry, u8 *aBuf){ ZipfileCDS *pCds = &pEntry->cds; u8 *a = aBuf; pCds->nExtra = 9; /* Write the LFH itself */ zipfileWrite32(a, ZIPFILE_SIGNATURE_LFH); zipfileWrite16(a, pCds->iVersionExtract); zipfileWrite16(a, pCds->flags); zipfileWrite16(a, pCds->iCompression); zipfileWrite16(a, pCds->mTime); zipfileWrite16(a, pCds->mDate); zipfileWrite32(a, pCds->crc32); zipfileWrite32(a, pCds->szCompressed); zipfileWrite32(a, pCds->szUncompressed); zipfileWrite16(a, (u16)pCds->nFile); zipfileWrite16(a, pCds->nExtra); assert( a==&aBuf[ZIPFILE_LFH_FIXED_SZ] ); /* Add the file name */ memcpy(a, pCds->zFile, (int)pCds->nFile); a += (int)pCds->nFile; /* The "extra" data */ zipfileWrite16(a, ZIPFILE_EXTRA_TIMESTAMP); zipfileWrite16(a, 5); *a++ = 0x01; zipfileWrite32(a, pEntry->mUnixTime); return a-aBuf; } static int zipfileAppendEntry( ZipfileTab *pTab, ZipfileEntry *pEntry, const u8 *pData, int nData ){ u8 *aBuf = pTab->aBuffer; int nBuf; int rc; nBuf = zipfileSerializeLFH(pEntry, aBuf); rc = zipfileAppendData(pTab, aBuf, nBuf); if( rc==SQLITE_OK ){ pEntry->iDataOff = pTab->szCurrent; rc = zipfileAppendData(pTab, pData, nData); } return rc; } static int zipfileGetMode( sqlite3_value *pVal, int bIsDir, /* If true, default to directory */ u32 *pMode, /* OUT: Mode value */ char **pzErr /* OUT: Error message */ ){ const char *z = (const char*)sqlite3_value_text(pVal); u32 mode = 0; if( z==0 ){ mode = (bIsDir ? (S_IFDIR + 0755) : (S_IFREG + 0644)); }else if( z[0]>='0' && z[0]<='9' ){ mode = (unsigned int)sqlite3_value_int(pVal); }else{ const char zTemplate[11] = "-rwxrwxrwx"; int i; if( strlen(z)!=10 ) goto parse_error; switch( z[0] ){ case '-': mode |= S_IFREG; break; case 'd': mode |= S_IFDIR; break; case 'l': mode |= S_IFLNK; break; default: goto parse_error; } for(i=1; i<10; i++){ if( z[i]==zTemplate[i] ) mode |= 1 << (9-i); else if( z[i]!='-' ) goto parse_error; } } if( ((mode & S_IFDIR)==0)==bIsDir ){ /* The "mode" attribute is a directory, but data has been specified. ** Or vice-versa - no data but "mode" is a file or symlink. */ *pzErr = sqlite3_mprintf("zipfile: mode does not match data"); return SQLITE_CONSTRAINT; } *pMode = mode; return SQLITE_OK; parse_error: *pzErr = sqlite3_mprintf("zipfile: parse error in mode: %s", z); return SQLITE_ERROR; } /* ** Both (const char*) arguments point to nul-terminated strings. Argument ** nB is the value of strlen(zB). This function returns 0 if the strings are ** identical, ignoring any trailing '/' character in either path. */ static int zipfileComparePath(const char *zA, const char *zB, int nB){ int nA = (int)strlen(zA); if( nA>0 && zA[nA-1]=='/' ) nA--; if( nB>0 && zB[nB-1]=='/' ) nB--; if( nA==nB && memcmp(zA, zB, nA)==0 ) return 0; return 1; } static int zipfileBegin(sqlite3_vtab *pVtab){ ZipfileTab *pTab = (ZipfileTab*)pVtab; int rc = SQLITE_OK; assert( pTab->pWriteFd==0 ); if( pTab->zFile==0 || pTab->zFile[0]==0 ){ pTab->base.zErrMsg = sqlite3_mprintf("zipfile: missing filename"); return SQLITE_ERROR; } /* Open a write fd on the file. Also load the entire central directory ** structure into memory. During the transaction any new file data is ** appended to the archive file, but the central directory is accumulated ** in main-memory until the transaction is committed. */ pTab->pWriteFd = fopen(pTab->zFile, "ab+"); if( pTab->pWriteFd==0 ){ pTab->base.zErrMsg = sqlite3_mprintf( "zipfile: failed to open file %s for writing", pTab->zFile ); rc = SQLITE_ERROR; }else{ fseek(pTab->pWriteFd, 0, SEEK_END); pTab->szCurrent = pTab->szOrig = (i64)ftell(pTab->pWriteFd); rc = zipfileLoadDirectory(pTab, 0, 0); } if( rc!=SQLITE_OK ){ zipfileCleanupTransaction(pTab); } return rc; } /* ** Return the current time as a 32-bit timestamp in UNIX epoch format (like ** time(2)). */ static u32 zipfileTime(void){ sqlite3_vfs *pVfs = sqlite3_vfs_find(0); u32 ret; if( pVfs==0 ) return 0; if( pVfs->iVersion>=2 && pVfs->xCurrentTimeInt64 ){ i64 ms; pVfs->xCurrentTimeInt64(pVfs, &ms); ret = (u32)((ms/1000) - ((i64)24405875 * 8640)); }else{ double day; pVfs->xCurrentTime(pVfs, &day); ret = (u32)((day - 2440587.5) * 86400); } return ret; } /* ** Return a 32-bit timestamp in UNIX epoch format. ** ** If the value passed as the only argument is either NULL or an SQL NULL, ** return the current time. Otherwise, return the value stored in (*pVal) ** cast to a 32-bit unsigned integer. */ static u32 zipfileGetTime(sqlite3_value *pVal){ if( pVal==0 || sqlite3_value_type(pVal)==SQLITE_NULL ){ return zipfileTime(); } return (u32)sqlite3_value_int64(pVal); } /* ** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry ** linked list. Remove it from the list and free the object. */ static void zipfileRemoveEntryFromList(ZipfileTab *pTab, ZipfileEntry *pOld){ if( pOld ){ ZipfileEntry **pp; for(pp=&pTab->pFirstEntry; (*pp)!=pOld; pp=&((*pp)->pNext)); *pp = (*pp)->pNext; zipfileEntryFree(pOld); } } /* ** xUpdate method. */ static int zipfileUpdate( sqlite3_vtab *pVtab, int nVal, sqlite3_value **apVal, sqlite_int64 *pRowid ){ ZipfileTab *pTab = (ZipfileTab*)pVtab; int rc = SQLITE_OK; /* Return Code */ ZipfileEntry *pNew = 0; /* New in-memory CDS entry */ u32 mode = 0; /* Mode for new entry */ u32 mTime = 0; /* Modification time for new entry */ i64 sz = 0; /* Uncompressed size */ const char *zPath = 0; /* Path for new entry */ int nPath = 0; /* strlen(zPath) */ const u8 *pData = 0; /* Pointer to buffer containing content */ int nData = 0; /* Size of pData buffer in bytes */ int iMethod = 0; /* Compression method for new entry */ u8 *pFree = 0; /* Free this */ char *zFree = 0; /* Also free this */ ZipfileEntry *pOld = 0; ZipfileEntry *pOld2 = 0; int bUpdate = 0; /* True for an update that modifies "name" */ int bIsDir = 0; u32 iCrc32 = 0; if( pTab->pWriteFd==0 ){ rc = zipfileBegin(pVtab); if( rc!=SQLITE_OK ) return rc; } /* If this is a DELETE or UPDATE, find the archive entry to delete. */ if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){ const char *zDelete = (const char*)sqlite3_value_text(apVal[0]); int nDelete = (int)strlen(zDelete); if( nVal>1 ){ const char *zUpdate = (const char*)sqlite3_value_text(apVal[1]); if( zUpdate && zipfileComparePath(zUpdate, zDelete, nDelete)!=0 ){ bUpdate = 1; } } for(pOld=pTab->pFirstEntry; 1; pOld=pOld->pNext){ if( zipfileComparePath(pOld->cds.zFile, zDelete, nDelete)==0 ){ break; } assert( pOld->pNext ); } } if( nVal>1 ){ /* Check that "sz" and "rawdata" are both NULL: */ if( sqlite3_value_type(apVal[5])!=SQLITE_NULL ){ zipfileTableErr(pTab, "sz must be NULL"); rc = SQLITE_CONSTRAINT; } if( sqlite3_value_type(apVal[6])!=SQLITE_NULL ){ zipfileTableErr(pTab, "rawdata must be NULL"); rc = SQLITE_CONSTRAINT; } if( rc==SQLITE_OK ){ if( sqlite3_value_type(apVal[7])==SQLITE_NULL ){ /* data=NULL. A directory */ bIsDir = 1; }else{ /* Value specified for "data", and possibly "method". This must be ** a regular file or a symlink. */ const u8 *aIn = sqlite3_value_blob(apVal[7]); int nIn = sqlite3_value_bytes(apVal[7]); int bAuto = sqlite3_value_type(apVal[8])==SQLITE_NULL; iMethod = sqlite3_value_int(apVal[8]); sz = nIn; pData = aIn; nData = nIn; if( iMethod!=0 && iMethod!=8 ){ zipfileTableErr(pTab, "unknown compression method: %d", iMethod); rc = SQLITE_CONSTRAINT; }else{ if( bAuto || iMethod ){ int nCmp; rc = zipfileDeflate(aIn, nIn, &pFree, &nCmp, &pTab->base.zErrMsg); if( rc==SQLITE_OK ){ if( iMethod || nCmp<nIn ){ iMethod = 8; pData = pFree; nData = nCmp; } } } iCrc32 = crc32(0, aIn, nIn); } } } if( rc==SQLITE_OK ){ rc = zipfileGetMode(apVal[3], bIsDir, &mode, &pTab->base.zErrMsg); } if( rc==SQLITE_OK ){ zPath = (const char*)sqlite3_value_text(apVal[2]); if( zPath==0 ) zPath = ""; nPath = (int)strlen(zPath); mTime = zipfileGetTime(apVal[4]); } if( rc==SQLITE_OK && bIsDir ){ /* For a directory, check that the last character in the path is a ** '/'. This appears to be required for compatibility with info-zip ** (the unzip command on unix). It does not create directories ** otherwise. */ if( nPath<=0 || zPath[nPath-1]!='/' ){ zFree = sqlite3_mprintf("%s/", zPath); zPath = (const char*)zFree; if( zFree==0 ){ rc = SQLITE_NOMEM; nPath = 0; }else{ nPath = (int)strlen(zPath); } } } /* Check that we're not inserting a duplicate entry -OR- updating an ** entry with a path, thereby making it into a duplicate. */ if( (pOld==0 || bUpdate) && rc==SQLITE_OK ){ ZipfileEntry *p; for(p=pTab->pFirstEntry; p; p=p->pNext){ if( zipfileComparePath(p->cds.zFile, zPath, nPath)==0 ){ switch( sqlite3_vtab_on_conflict(pTab->db) ){ case SQLITE_IGNORE: { goto zipfile_update_done; } case SQLITE_REPLACE: { pOld2 = p; break; } default: { zipfileTableErr(pTab, "duplicate name: \"%s\"", zPath); rc = SQLITE_CONSTRAINT; break; } } break; } } } if( rc==SQLITE_OK ){ /* Create the new CDS record. */ pNew = zipfileNewEntry(zPath); if( pNew==0 ){ rc = SQLITE_NOMEM; }else{ pNew->cds.iVersionMadeBy = ZIPFILE_NEWENTRY_MADEBY; pNew->cds.iVersionExtract = ZIPFILE_NEWENTRY_REQUIRED; pNew->cds.flags = ZIPFILE_NEWENTRY_FLAGS; pNew->cds.iCompression = (u16)iMethod; zipfileMtimeToDos(&pNew->cds, mTime); pNew->cds.crc32 = iCrc32; pNew->cds.szCompressed = nData; pNew->cds.szUncompressed = (u32)sz; pNew->cds.iExternalAttr = (mode<<16); pNew->cds.iOffset = (u32)pTab->szCurrent; pNew->cds.nFile = (u16)nPath; pNew->mUnixTime = (u32)mTime; rc = zipfileAppendEntry(pTab, pNew, pData, nData); zipfileAddEntry(pTab, pOld, pNew); } } } if( rc==SQLITE_OK && (pOld || pOld2) ){ ZipfileCsr *pCsr; for(pCsr=pTab->pCsrList; pCsr; pCsr=pCsr->pCsrNext){ if( pCsr->pCurrent && (pCsr->pCurrent==pOld || pCsr->pCurrent==pOld2) ){ pCsr->pCurrent = pCsr->pCurrent->pNext; pCsr->bNoop = 1; } } zipfileRemoveEntryFromList(pTab, pOld); zipfileRemoveEntryFromList(pTab, pOld2); } zipfile_update_done: sqlite3_free(pFree); sqlite3_free(zFree); return rc; } static int zipfileSerializeEOCD(ZipfileEOCD *p, u8 *aBuf){ u8 *a = aBuf; zipfileWrite32(a, ZIPFILE_SIGNATURE_EOCD); zipfileWrite16(a, p->iDisk); zipfileWrite16(a, p->iFirstDisk); zipfileWrite16(a, p->nEntry); zipfileWrite16(a, p->nEntryTotal); zipfileWrite32(a, p->nSize); zipfileWrite32(a, p->iOffset); zipfileWrite16(a, 0); /* Size of trailing comment in bytes*/ return a-aBuf; } static int zipfileAppendEOCD(ZipfileTab *pTab, ZipfileEOCD *p){ int nBuf = zipfileSerializeEOCD(p, pTab->aBuffer); assert( nBuf==ZIPFILE_EOCD_FIXED_SZ ); return zipfileAppendData(pTab, pTab->aBuffer, nBuf); } /* ** Serialize the CDS structure into buffer aBuf[]. Return the number ** of bytes written. */ static int zipfileSerializeCDS(ZipfileEntry *pEntry, u8 *aBuf){ u8 *a = aBuf; ZipfileCDS *pCDS = &pEntry->cds; if( pEntry->aExtra==0 ){ pCDS->nExtra = 9; } zipfileWrite32(a, ZIPFILE_SIGNATURE_CDS); zipfileWrite16(a, pCDS->iVersionMadeBy); zipfileWrite16(a, pCDS->iVersionExtract); zipfileWrite16(a, pCDS->flags); zipfileWrite16(a, pCDS->iCompression); zipfileWrite16(a, pCDS->mTime); zipfileWrite16(a, pCDS->mDate); zipfileWrite32(a, pCDS->crc32); zipfileWrite32(a, pCDS->szCompressed); zipfileWrite32(a, pCDS->szUncompressed); assert( a==&aBuf[ZIPFILE_CDS_NFILE_OFF] ); zipfileWrite16(a, pCDS->nFile); zipfileWrite16(a, pCDS->nExtra); zipfileWrite16(a, pCDS->nComment); zipfileWrite16(a, pCDS->iDiskStart); zipfileWrite16(a, pCDS->iInternalAttr); zipfileWrite32(a, pCDS->iExternalAttr); zipfileWrite32(a, pCDS->iOffset); memcpy(a, pCDS->zFile, pCDS->nFile); a += pCDS->nFile; if( pEntry->aExtra ){ int n = (int)pCDS->nExtra + (int)pCDS->nComment; memcpy(a, pEntry->aExtra, n); a += n; }else{ assert( pCDS->nExtra==9 ); zipfileWrite16(a, ZIPFILE_EXTRA_TIMESTAMP); zipfileWrite16(a, 5); *a++ = 0x01; zipfileWrite32(a, pEntry->mUnixTime); } return a-aBuf; } static int zipfileCommit(sqlite3_vtab *pVtab){ ZipfileTab *pTab = (ZipfileTab*)pVtab; int rc = SQLITE_OK; if( pTab->pWriteFd ){ i64 iOffset = pTab->szCurrent; ZipfileEntry *p; ZipfileEOCD eocd; int nEntry = 0; /* Write out all entries */ for(p=pTab->pFirstEntry; rc==SQLITE_OK && p; p=p->pNext){ int n = zipfileSerializeCDS(p, pTab->aBuffer); rc = zipfileAppendData(pTab, pTab->aBuffer, n); nEntry++; } /* Write out the EOCD record */ eocd.iDisk = 0; eocd.iFirstDisk = 0; eocd.nEntry = (u16)nEntry; eocd.nEntryTotal = (u16)nEntry; eocd.nSize = (u32)(pTab->szCurrent - iOffset); eocd.iOffset = (u32)iOffset; rc = zipfileAppendEOCD(pTab, &eocd); zipfileCleanupTransaction(pTab); } return rc; } static int zipfileRollback(sqlite3_vtab *pVtab){ return zipfileCommit(pVtab); } static ZipfileCsr *zipfileFindCursor(ZipfileTab *pTab, i64 iId){ ZipfileCsr *pCsr; for(pCsr=pTab->pCsrList; pCsr; pCsr=pCsr->pCsrNext){ if( iId==pCsr->iId ) break; } return pCsr; } static void zipfileFunctionCds( sqlite3_context *context, int argc, sqlite3_value **argv ){ ZipfileCsr *pCsr; ZipfileTab *pTab = (ZipfileTab*)sqlite3_user_data(context); assert( argc>0 ); pCsr = zipfileFindCursor(pTab, sqlite3_value_int64(argv[0])); if( pCsr ){ ZipfileCDS *p = &pCsr->pCurrent->cds; char *zRes = sqlite3_mprintf("{" "\"version-made-by\" : %u, " "\"version-to-extract\" : %u, " "\"flags\" : %u, " "\"compression\" : %u, " "\"time\" : %u, " "\"date\" : %u, " "\"crc32\" : %u, " "\"compressed-size\" : %u, " "\"uncompressed-size\" : %u, " "\"file-name-length\" : %u, " "\"extra-field-length\" : %u, " "\"file-comment-length\" : %u, " "\"disk-number-start\" : %u, " "\"internal-attr\" : %u, " "\"external-attr\" : %u, " "\"offset\" : %u }", (u32)p->iVersionMadeBy, (u32)p->iVersionExtract, (u32)p->flags, (u32)p->iCompression, (u32)p->mTime, (u32)p->mDate, (u32)p->crc32, (u32)p->szCompressed, (u32)p->szUncompressed, (u32)p->nFile, (u32)p->nExtra, (u32)p->nComment, (u32)p->iDiskStart, (u32)p->iInternalAttr, (u32)p->iExternalAttr, (u32)p->iOffset ); if( zRes==0 ){ sqlite3_result_error_nomem(context); }else{ sqlite3_result_text(context, zRes, -1, SQLITE_TRANSIENT); sqlite3_free(zRes); } } } /* ** xFindFunction method. */ static int zipfileFindFunction( sqlite3_vtab *pVtab, /* Virtual table handle */ int nArg, /* Number of SQL function arguments */ const char *zName, /* Name of SQL function */ void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */ void **ppArg /* OUT: User data for *pxFunc */ ){ if( sqlite3_stricmp("zipfile_cds", zName)==0 ){ *pxFunc = zipfileFunctionCds; *ppArg = (void*)pVtab; return 1; } return 0; } typedef struct ZipfileBuffer ZipfileBuffer; struct ZipfileBuffer { u8 *a; /* Pointer to buffer */ int n; /* Size of buffer in bytes */ int nAlloc; /* Byte allocated at a[] */ }; typedef struct ZipfileCtx ZipfileCtx; struct ZipfileCtx { int nEntry; ZipfileBuffer body; ZipfileBuffer cds; }; static int zipfileBufferGrow(ZipfileBuffer *pBuf, int nByte){ if( pBuf->n+nByte>pBuf->nAlloc ){ u8 *aNew; sqlite3_int64 nNew = pBuf->n ? pBuf->n*2 : 512; int nReq = pBuf->n + nByte; while( nNew<nReq ) nNew = nNew*2; aNew = sqlite3_realloc64(pBuf->a, nNew); if( aNew==0 ) return SQLITE_NOMEM; pBuf->a = aNew; pBuf->nAlloc = (int)nNew; } return SQLITE_OK; } /* ** xStep() callback for the zipfile() aggregate. This can be called in ** any of the following ways: ** ** SELECT zipfile(name,data) ... ** SELECT zipfile(name,mode,mtime,data) ... ** SELECT zipfile(name,mode,mtime,data,method) ... */ static void zipfileStep(sqlite3_context *pCtx, int nVal, sqlite3_value **apVal){ ZipfileCtx *p; /* Aggregate function context */ ZipfileEntry e; /* New entry to add to zip archive */ sqlite3_value *pName = 0; sqlite3_value *pMode = 0; sqlite3_value *pMtime = 0; sqlite3_value *pData = 0; sqlite3_value *pMethod = 0; int bIsDir = 0; u32 mode; int rc = SQLITE_OK; char *zErr = 0; int iMethod = -1; /* Compression method to use (0 or 8) */ const u8 *aData = 0; /* Possibly compressed data for new entry */ int nData = 0; /* Size of aData[] in bytes */ int szUncompressed = 0; /* Size of data before compression */ u8 *aFree = 0; /* Free this before returning */ u32 iCrc32 = 0; /* crc32 of uncompressed data */ char *zName = 0; /* Path (name) of new entry */ int nName = 0; /* Size of zName in bytes */ char *zFree = 0; /* Free this before returning */ int nByte; memset(&e, 0, sizeof(e)); p = (ZipfileCtx*)sqlite3_aggregate_context(pCtx, sizeof(ZipfileCtx)); if( p==0 ) return; /* Martial the arguments into stack variables */ if( nVal!=2 && nVal!=4 && nVal!=5 ){ zErr = sqlite3_mprintf("wrong number of arguments to function zipfile()"); rc = SQLITE_ERROR; goto zipfile_step_out; } pName = apVal[0]; if( nVal==2 ){ pData = apVal[1]; }else{ pMode = apVal[1]; pMtime = apVal[2]; pData = apVal[3]; if( nVal==5 ){ pMethod = apVal[4]; } } /* Check that the 'name' parameter looks ok. */ zName = (char*)sqlite3_value_text(pName); nName = sqlite3_value_bytes(pName); if( zName==0 ){ zErr = sqlite3_mprintf("first argument to zipfile() must be non-NULL"); rc = SQLITE_ERROR; goto zipfile_step_out; } /* Inspect the 'method' parameter. This must be either 0 (store), 8 (use ** deflate compression) or NULL (choose automatically). */ if( pMethod && SQLITE_NULL!=sqlite3_value_type(pMethod) ){ iMethod = (int)sqlite3_value_int64(pMethod); if( iMethod!=0 && iMethod!=8 ){ zErr = sqlite3_mprintf("illegal method value: %d", iMethod); rc = SQLITE_ERROR; goto zipfile_step_out; } } /* Now inspect the data. If this is NULL, then the new entry must be a ** directory. Otherwise, figure out whether or not the data should ** be deflated or simply stored in the zip archive. */ if( sqlite3_value_type(pData)==SQLITE_NULL ){ bIsDir = 1; iMethod = 0; }else{ aData = sqlite3_value_blob(pData); szUncompressed = nData = sqlite3_value_bytes(pData); iCrc32 = crc32(0, aData, nData); if( iMethod<0 || iMethod==8 ){ int nOut = 0; rc = zipfileDeflate(aData, nData, &aFree, &nOut, &zErr); if( rc!=SQLITE_OK ){ goto zipfile_step_out; } if( iMethod==8 || nOut<nData ){ aData = aFree; nData = nOut; iMethod = 8; }else{ iMethod = 0; } } } /* Decode the "mode" argument. */ rc = zipfileGetMode(pMode, bIsDir, &mode, &zErr); if( rc ) goto zipfile_step_out; /* Decode the "mtime" argument. */ e.mUnixTime = zipfileGetTime(pMtime); /* If this is a directory entry, ensure that there is exactly one '/' ** at the end of the path. Or, if this is not a directory and the path ** ends in '/' it is an error. */ if( bIsDir==0 ){ if( nName>0 && zName[nName-1]=='/' ){ zErr = sqlite3_mprintf("non-directory name must not end with /"); rc = SQLITE_ERROR; goto zipfile_step_out; } }else{ if( nName==0 || zName[nName-1]!='/' ){ zName = zFree = sqlite3_mprintf("%s/", zName); if( zName==0 ){ rc = SQLITE_NOMEM; goto zipfile_step_out; } nName = (int)strlen(zName); }else{ while( nName>1 && zName[nName-2]=='/' ) nName--; } } /* Assemble the ZipfileEntry object for the new zip archive entry */ e.cds.iVersionMadeBy = ZIPFILE_NEWENTRY_MADEBY; e.cds.iVersionExtract = ZIPFILE_NEWENTRY_REQUIRED; e.cds.flags = ZIPFILE_NEWENTRY_FLAGS; e.cds.iCompression = (u16)iMethod; zipfileMtimeToDos(&e.cds, (u32)e.mUnixTime); e.cds.crc32 = iCrc32; e.cds.szCompressed = nData; e.cds.szUncompressed = szUncompressed; e.cds.iExternalAttr = (mode<<16); e.cds.iOffset = p->body.n; e.cds.nFile = (u16)nName; e.cds.zFile = zName; /* Append the LFH to the body of the new archive */ nByte = ZIPFILE_LFH_FIXED_SZ + e.cds.nFile + 9; if( (rc = zipfileBufferGrow(&p->body, nByte)) ) goto zipfile_step_out; p->body.n += zipfileSerializeLFH(&e, &p->body.a[p->body.n]); /* Append the data to the body of the new archive */ if( nData>0 ){ if( (rc = zipfileBufferGrow(&p->body, nData)) ) goto zipfile_step_out; memcpy(&p->body.a[p->body.n], aData, nData); p->body.n += nData; } /* Append the CDS record to the directory of the new archive */ nByte = ZIPFILE_CDS_FIXED_SZ + e.cds.nFile + 9; if( (rc = zipfileBufferGrow(&p->cds, nByte)) ) goto zipfile_step_out; p->cds.n += zipfileSerializeCDS(&e, &p->cds.a[p->cds.n]); /* Increment the count of entries in the archive */ p->nEntry++; zipfile_step_out: sqlite3_free(aFree); sqlite3_free(zFree); if( rc ){ if( zErr ){ sqlite3_result_error(pCtx, zErr, -1); }else{ sqlite3_result_error_code(pCtx, rc); } } sqlite3_free(zErr); } /* ** xFinalize() callback for zipfile aggregate function. */ static void zipfileFinal(sqlite3_context *pCtx){ ZipfileCtx *p; ZipfileEOCD eocd; sqlite3_int64 nZip; u8 *aZip; p = (ZipfileCtx*)sqlite3_aggregate_context(pCtx, sizeof(ZipfileCtx)); if( p==0 ) return; if( p->nEntry>0 ){ memset(&eocd, 0, sizeof(eocd)); eocd.nEntry = (u16)p->nEntry; eocd.nEntryTotal = (u16)p->nEntry; eocd.nSize = p->cds.n; eocd.iOffset = p->body.n; nZip = p->body.n + p->cds.n + ZIPFILE_EOCD_FIXED_SZ; aZip = (u8*)sqlite3_malloc64(nZip); if( aZip==0 ){ sqlite3_result_error_nomem(pCtx); }else{ memcpy(aZip, p->body.a, p->body.n); memcpy(&aZip[p->body.n], p->cds.a, p->cds.n); zipfileSerializeEOCD(&eocd, &aZip[p->body.n + p->cds.n]); sqlite3_result_blob(pCtx, aZip, (int)nZip, zipfileFree); } } sqlite3_free(p->body.a); sqlite3_free(p->cds.a); } /* ** Register the "zipfile" virtual table. */ static int zipfileRegister(sqlite3 *db){ static sqlite3_module zipfileModule = { 1, /* iVersion */ zipfileConnect, /* xCreate */ zipfileConnect, /* xConnect */ zipfileBestIndex, /* xBestIndex */ zipfileDisconnect, /* xDisconnect */ zipfileDisconnect, /* xDestroy */ zipfileOpen, /* xOpen - open a cursor */ zipfileClose, /* xClose - close a cursor */ zipfileFilter, /* xFilter - configure scan constraints */ zipfileNext, /* xNext - advance a cursor */ zipfileEof, /* xEof - check for end of scan */ zipfileColumn, /* xColumn - read data */ 0, /* xRowid - read data */ zipfileUpdate, /* xUpdate */ zipfileBegin, /* xBegin */ 0, /* xSync */ zipfileCommit, /* xCommit */ zipfileRollback, /* xRollback */ zipfileFindFunction, /* xFindMethod */ 0, /* xRename */ }; int rc = sqlite3_create_module(db, "zipfile" , &zipfileModule, 0); if( rc==SQLITE_OK ) rc = sqlite3_overload_function(db, "zipfile_cds", -1); if( rc==SQLITE_OK ){ rc = sqlite3_create_function(db, "zipfile", -1, SQLITE_UTF8, 0, 0, zipfileStep, zipfileFinal ); } assert( sizeof(i64)==8 ); assert( sizeof(u32)==4 ); assert( sizeof(u16)==2 ); assert( sizeof(u8)==1 ); return rc; } #else /* SQLITE_OMIT_VIRTUALTABLE */ # define zipfileRegister(x) SQLITE_OK #endif #ifdef _WIN32 __declspec(dllexport) #endif int sqlite3_zipfile_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ){ SQLITE_EXTENSION_INIT2(pApi); (void)pzErrMsg; /* Unused parameter */ return zipfileRegister(db); }
the_stack_data/61075120.c
#include <stdio.h> #include <math.h> #define f(x) ((x) * (x) - num) #define fp(x) (2 * (x)) float mysqrt(float num) { float x = num; float oldx = pow(10, -15); while(fabs(x - oldx) > pow(10, -15)) { oldx = x; x = x - (f(x) / fp(x)); } return x; } int main(int argc, char *argv[]) { float num; printf("Dose arithmo: "); scanf("%f", &num); printf("\nnum = %f, \nx = %f, \nsqrt(num) = %f\n", num, mysqrt(num), sqrt(num)); return 0; }
the_stack_data/27924.c
/* File: disasm.c Author: Mats Engstrom, April 2020 Language: C (UNIX) Purpose: PDP-8 emulator debugging tool */ char *ops[4096] = { "AND 0000 ;AND operand with AC, ZP 0000 ", // op 0000 "AND 0001 ;AND operand with AC, ZP 0001", // op 0001 "AND 0002 ;AND operand with AC, ZP 0002", // op 0002 "AND 0003 ;AND operand with AC, ZP 0003", // op 0003 "AND 0004 ;AND operand with AC, ZP 0004", // op 0004 "AND 0005 ;AND operand with AC, ZP 0005", // op 0005 "AND 0006 ;AND operand with AC, ZP 0006", // op 0006 "AND 0007 ;AND operand with AC, ZP 0007", // op 0007 "AND 0010 ;AND operand with AC, ZP 0010", // op 0010 "AND 0011 ;AND operand with AC, ZP 0011", // op 0011 "AND 0012 ;AND operand with AC, ZP 0012", // op 0012 "AND 0013 ;AND operand with AC, ZP 0013", // op 0013 "AND 0014 ;AND operand with AC, ZP 0014", // op 0014 "AND 0015 ;AND operand with AC, ZP 0015", // op 0015 "AND 0016 ;AND operand with AC, ZP 0016", // op 0016 "AND 0017 ;AND operand with AC, ZP 0017", // op 0017 "AND 0020 ;AND operand with AC, ZP 0020", // op 0020 "AND 0021 ;AND operand with AC, ZP 0021", // op 0021 "AND 0022 ;AND operand with AC, ZP 0022", // op 0022 "AND 0023 ;AND operand with AC, ZP 0023", // op 0023 "AND 0024 ;AND operand with AC, ZP 0024", // op 0024 "AND 0025 ;AND operand with AC, ZP 0025", // op 0025 "AND 0026 ;AND operand with AC, ZP 0026", // op 0026 "AND 0027 ;AND operand with AC, ZP 0027", // op 0027 "AND 0030 ;AND operand with AC, ZP 0030", // op 0030 "AND 0031 ;AND operand with AC, ZP 0031", // op 0031 "AND 0032 ;AND operand with AC, ZP 0032", // op 0032 "AND 0033 ;AND operand with AC, ZP 0033", // op 0033 "AND 0034 ;AND operand with AC, ZP 0034", // op 0034 "AND 0035 ;AND operand with AC, ZP 0035", // op 0035 "AND 0036 ;AND operand with AC, ZP 0036", // op 0036 "AND 0037 ;AND operand with AC, ZP 0037", // op 0037 "AND 0040 ;AND operand with AC, ZP 0040", // op 0040 "AND 0041 ;AND operand with AC, ZP 0041", // op 0041 "AND 0042 ;AND operand with AC, ZP 0042", // op 0042 "AND 0043 ;AND operand with AC, ZP 0043", // op 0043 "AND 0044 ;AND operand with AC, ZP 0044", // op 0044 "AND 0045 ;AND operand with AC, ZP 0045", // op 0045 "AND 0046 ;AND operand with AC, ZP 0046", // op 0046 "AND 0047 ;AND operand with AC, ZP 0047", // op 0047 "AND 0050 ;AND operand with AC, ZP 0050", // op 0050 "AND 0051 ;AND operand with AC, ZP 0051", // op 0051 "AND 0052 ;AND operand with AC, ZP 0052", // op 0052 "AND 0053 ;AND operand with AC, ZP 0053", // op 0053 "AND 0054 ;AND operand with AC, ZP 0054", // op 0054 "AND 0055 ;AND operand with AC, ZP 0055", // op 0055 "AND 0056 ;AND operand with AC, ZP 0056", // op 0056 "AND 0057 ;AND operand with AC, ZP 0057", // op 0057 "AND 0060 ;AND operand with AC, ZP 0060", // op 0060 "AND 0061 ;AND operand with AC, ZP 0061", // op 0061 "AND 0062 ;AND operand with AC, ZP 0062", // op 0062 "AND 0063 ;AND operand with AC, ZP 0063", // op 0063 "AND 0064 ;AND operand with AC, ZP 0064", // op 0064 "AND 0065 ;AND operand with AC, ZP 0065", // op 0065 "AND 0066 ;AND operand with AC, ZP 0066", // op 0066 "AND 0067 ;AND operand with AC, ZP 0067", // op 0067 "AND 0070 ;AND operand with AC, ZP 0070", // op 0070 "AND 0071 ;AND operand with AC, ZP 0071", // op 0071 "AND 0072 ;AND operand with AC, ZP 0072", // op 0072 "AND 0073 ;AND operand with AC, ZP 0073", // op 0073 "AND 0074 ;AND operand with AC, ZP 0074", // op 0074 "AND 0075 ;AND operand with AC, ZP 0075", // op 0075 "AND 0076 ;AND operand with AC, ZP 0076", // op 0076 "AND 0077 ;AND operand with AC, ZP 0077", // op 0077 "AND 0100 ;AND operand with AC, ZP 0100", // op 0100 "AND 0101 ;AND operand with AC, ZP 0101", // op 0101 "AND 0102 ;AND operand with AC, ZP 0102", // op 0102 "AND 0103 ;AND operand with AC, ZP 0103", // op 0103 "AND 0104 ;AND operand with AC, ZP 0104", // op 0104 "AND 0105 ;AND operand with AC, ZP 0105", // op 0105 "AND 0106 ;AND operand with AC, ZP 0106", // op 0106 "AND 0107 ;AND operand with AC, ZP 0107", // op 0107 "AND 0110 ;AND operand with AC, ZP 0110", // op 0110 "AND 0111 ;AND operand with AC, ZP 0111", // op 0111 "AND 0112 ;AND operand with AC, ZP 0112", // op 0112 "AND 0113 ;AND operand with AC, ZP 0113", // op 0113 "AND 0114 ;AND operand with AC, ZP 0114", // op 0114 "AND 0115 ;AND operand with AC, ZP 0115", // op 0115 "AND 0116 ;AND operand with AC, ZP 0116", // op 0116 "AND 0117 ;AND operand with AC, ZP 0117", // op 0117 "AND 0120 ;AND operand with AC, ZP 0120", // op 0120 "AND 0121 ;AND operand with AC, ZP 0121", // op 0121 "AND 0122 ;AND operand with AC, ZP 0122", // op 0122 "AND 0123 ;AND operand with AC, ZP 0123", // op 0123 "AND 0124 ;AND operand with AC, ZP 0124", // op 0124 "AND 0125 ;AND operand with AC, ZP 0125", // op 0125 "AND 0126 ;AND operand with AC, ZP 0126", // op 0126 "AND 0127 ;AND operand with AC, ZP 0127", // op 0127 "AND 0130 ;AND operand with AC, ZP 0130", // op 0130 "AND 0131 ;AND operand with AC, ZP 0131", // op 0131 "AND 0132 ;AND operand with AC, ZP 0132", // op 0132 "AND 0133 ;AND operand with AC, ZP 0133", // op 0133 "AND 0134 ;AND operand with AC, ZP 0134", // op 0134 "AND 0135 ;AND operand with AC, ZP 0135", // op 0135 "AND 0136 ;AND operand with AC, ZP 0136", // op 0136 "AND 0137 ;AND operand with AC, ZP 0137", // op 0137 "AND 0140 ;AND operand with AC, ZP 0140", // op 0140 "AND 0141 ;AND operand with AC, ZP 0141", // op 0141 "AND 0142 ;AND operand with AC, ZP 0142", // op 0142 "AND 0143 ;AND operand with AC, ZP 0143", // op 0143 "AND 0144 ;AND operand with AC, ZP 0144", // op 0144 "AND 0145 ;AND operand with AC, ZP 0145", // op 0145 "AND 0146 ;AND operand with AC, ZP 0146", // op 0146 "AND 0147 ;AND operand with AC, ZP 0147", // op 0147 "AND 0150 ;AND operand with AC, ZP 0150", // op 0150 "AND 0151 ;AND operand with AC, ZP 0151", // op 0151 "AND 0152 ;AND operand with AC, ZP 0152", // op 0152 "AND 0153 ;AND operand with AC, ZP 0153", // op 0153 "AND 0154 ;AND operand with AC, ZP 0154", // op 0154 "AND 0155 ;AND operand with AC, ZP 0155", // op 0155 "AND 0156 ;AND operand with AC, ZP 0156", // op 0156 "AND 0157 ;AND operand with AC, ZP 0157", // op 0157 "AND 0160 ;AND operand with AC, ZP 0160", // op 0160 "AND 0161 ;AND operand with AC, ZP 0161", // op 0161 "AND 0162 ;AND operand with AC, ZP 0162", // op 0162 "AND 0163 ;AND operand with AC, ZP 0163", // op 0163 "AND 0164 ;AND operand with AC, ZP 0164", // op 0164 "AND 0165 ;AND operand with AC, ZP 0165", // op 0165 "AND 0166 ;AND operand with AC, ZP 0166", // op 0166 "AND 0167 ;AND operand with AC, ZP 0167", // op 0167 "AND 0170 ;AND operand with AC, ZP 0170", // op 0170 "AND 0171 ;AND operand with AC, ZP 0171", // op 0171 "AND 0172 ;AND operand with AC, ZP 0172", // op 0172 "AND 0173 ;AND operand with AC, ZP 0173", // op 0173 "AND 0174 ;AND operand with AC, ZP 0174", // op 0174 "AND 0175 ;AND operand with AC, ZP 0175", // op 0175 "AND 0176 ;AND operand with AC, ZP 0176", // op 0176 "AND 0177 ;AND operand with AC, ZP 0177", // op 0177 "AND @@00 ;AND operand with AC, Current page @@00", // op 0200 "AND @@01 ;AND operand with AC, Current page @@01", // op 0201 "AND @@02 ;AND operand with AC, Current page @@02", // op 0202 "AND @@03 ;AND operand with AC, Current page @@03", // op 0203 "AND @@04 ;AND operand with AC, Current page @@04", // op 0204 "AND @@05 ;AND operand with AC, Current page @@05", // op 0205 "AND @@06 ;AND operand with AC, Current page @@06", // op 0206 "AND @@07 ;AND operand with AC, Current page @@07", // op 0207 "AND @@10 ;AND operand with AC, Current page @@10", // op 0210 "AND @@11 ;AND operand with AC, Current page @@11", // op 0211 "AND @@12 ;AND operand with AC, Current page @@12", // op 0212 "AND @@13 ;AND operand with AC, Current page @@13", // op 0213 "AND @@14 ;AND operand with AC, Current page @@14", // op 0214 "AND @@15 ;AND operand with AC, Current page @@15", // op 0215 "AND @@16 ;AND operand with AC, Current page @@16", // op 0216 "AND @@17 ;AND operand with AC, Current page @@17", // op 0217 "AND @@20 ;AND operand with AC, Current page @@20", // op 0220 "AND @@21 ;AND operand with AC, Current page @@21", // op 0221 "AND @@22 ;AND operand with AC, Current page @@22", // op 0222 "AND @@23 ;AND operand with AC, Current page @@23", // op 0223 "AND @@24 ;AND operand with AC, Current page @@24", // op 0224 "AND @@25 ;AND operand with AC, Current page @@25", // op 0225 "AND @@26 ;AND operand with AC, Current page @@26", // op 0226 "AND @@27 ;AND operand with AC, Current page @@27", // op 0227 "AND @@30 ;AND operand with AC, Current page @@30", // op 0230 "AND @@31 ;AND operand with AC, Current page @@31", // op 0231 "AND @@32 ;AND operand with AC, Current page @@32", // op 0232 "AND @@33 ;AND operand with AC, Current page @@33", // op 0233 "AND @@34 ;AND operand with AC, Current page @@34", // op 0234 "AND @@35 ;AND operand with AC, Current page @@35", // op 0235 "AND @@36 ;AND operand with AC, Current page @@36", // op 0236 "AND @@37 ;AND operand with AC, Current page @@37", // op 0237 "AND @@40 ;AND operand with AC, Current page @@40", // op 0240 "AND @@41 ;AND operand with AC, Current page @@41", // op 0241 "AND @@42 ;AND operand with AC, Current page @@42", // op 0242 "AND @@43 ;AND operand with AC, Current page @@43", // op 0243 "AND @@44 ;AND operand with AC, Current page @@44", // op 0244 "AND @@45 ;AND operand with AC, Current page @@45", // op 0245 "AND @@46 ;AND operand with AC, Current page @@46", // op 0246 "AND @@47 ;AND operand with AC, Current page @@47", // op 0247 "AND @@50 ;AND operand with AC, Current page @@50", // op 0250 "AND @@51 ;AND operand with AC, Current page @@51", // op 0251 "AND @@52 ;AND operand with AC, Current page @@52", // op 0252 "AND @@53 ;AND operand with AC, Current page @@53", // op 0253 "AND @@54 ;AND operand with AC, Current page @@54", // op 0254 "AND @@55 ;AND operand with AC, Current page @@55", // op 0255 "AND @@56 ;AND operand with AC, Current page @@56", // op 0256 "AND @@57 ;AND operand with AC, Current page @@57", // op 0257 "AND @@60 ;AND operand with AC, Current page @@60", // op 0260 "AND @@61 ;AND operand with AC, Current page @@61", // op 0261 "AND @@62 ;AND operand with AC, Current page @@62", // op 0262 "AND @@63 ;AND operand with AC, Current page @@63", // op 0263 "AND @@64 ;AND operand with AC, Current page @@64", // op 0264 "AND @@65 ;AND operand with AC, Current page @@65", // op 0265 "AND @@66 ;AND operand with AC, Current page @@66", // op 0266 "AND @@67 ;AND operand with AC, Current page @@67", // op 0267 "AND @@70 ;AND operand with AC, Current page @@70", // op 0270 "AND @@71 ;AND operand with AC, Current page @@71", // op 0271 "AND @@72 ;AND operand with AC, Current page @@72", // op 0272 "AND @@73 ;AND operand with AC, Current page @@73", // op 0273 "AND @@74 ;AND operand with AC, Current page @@74", // op 0274 "AND @@75 ;AND operand with AC, Current page @@75", // op 0275 "AND @@76 ;AND operand with AC, Current page @@76", // op 0276 "AND @@77 ;AND operand with AC, Current page @@77", // op 0277 "AND @@00 ;AND operand with AC, Current page @@00", // op 0300 "AND @@01 ;AND operand with AC, Current page @@01", // op 0301 "AND @@02 ;AND operand with AC, Current page @@02", // op 0302 "AND @@03 ;AND operand with AC, Current page @@03", // op 0303 "AND @@04 ;AND operand with AC, Current page @@04", // op 0304 "AND @@05 ;AND operand with AC, Current page @@05", // op 0305 "AND @@06 ;AND operand with AC, Current page @@06", // op 0306 "AND @@07 ;AND operand with AC, Current page @@07", // op 0307 "AND @@10 ;AND operand with AC, Current page @@10", // op 0310 "AND @@11 ;AND operand with AC, Current page @@11", // op 0311 "AND @@12 ;AND operand with AC, Current page @@12", // op 0312 "AND @@13 ;AND operand with AC, Current page @@13", // op 0313 "AND @@14 ;AND operand with AC, Current page @@14", // op 0314 "AND @@15 ;AND operand with AC, Current page @@15", // op 0315 "AND @@16 ;AND operand with AC, Current page @@16", // op 0316 "AND @@17 ;AND operand with AC, Current page @@17", // op 0317 "AND @@20 ;AND operand with AC, Current page @@20", // op 0320 "AND @@21 ;AND operand with AC, Current page @@21", // op 0321 "AND @@22 ;AND operand with AC, Current page @@22", // op 0322 "AND @@23 ;AND operand with AC, Current page @@23", // op 0323 "AND @@24 ;AND operand with AC, Current page @@24", // op 0324 "AND @@25 ;AND operand with AC, Current page @@25", // op 0325 "AND @@26 ;AND operand with AC, Current page @@26", // op 0326 "AND @@27 ;AND operand with AC, Current page @@27", // op 0327 "AND @@30 ;AND operand with AC, Current page @@30", // op 0330 "AND @@31 ;AND operand with AC, Current page @@31", // op 0331 "AND @@32 ;AND operand with AC, Current page @@32", // op 0332 "AND @@33 ;AND operand with AC, Current page @@33", // op 0333 "AND @@34 ;AND operand with AC, Current page @@34", // op 0334 "AND @@35 ;AND operand with AC, Current page @@35", // op 0335 "AND @@36 ;AND operand with AC, Current page @@36", // op 0336 "AND @@37 ;AND operand with AC, Current page @@37", // op 0337 "AND @@40 ;AND operand with AC, Current page @@40", // op 0340 "AND @@41 ;AND operand with AC, Current page @@41", // op 0341 "AND @@42 ;AND operand with AC, Current page @@42", // op 0342 "AND @@43 ;AND operand with AC, Current page @@43", // op 0343 "AND @@44 ;AND operand with AC, Current page @@44", // op 0344 "AND @@45 ;AND operand with AC, Current page @@45", // op 0345 "AND @@46 ;AND operand with AC, Current page @@46", // op 0346 "AND @@47 ;AND operand with AC, Current page @@47", // op 0347 "AND @@50 ;AND operand with AC, Current page @@50", // op 0350 "AND @@51 ;AND operand with AC, Current page @@51", // op 0351 "AND @@52 ;AND operand with AC, Current page @@52", // op 0352 "AND @@53 ;AND operand with AC, Current page @@53", // op 0353 "AND @@54 ;AND operand with AC, Current page @@54", // op 0354 "AND @@55 ;AND operand with AC, Current page @@55", // op 0355 "AND @@56 ;AND operand with AC, Current page @@56", // op 0356 "AND @@57 ;AND operand with AC, Current page @@57", // op 0357 "AND @@60 ;AND operand with AC, Current page @@60", // op 0360 "AND @@61 ;AND operand with AC, Current page @@61", // op 0361 "AND @@62 ;AND operand with AC, Current page @@62", // op 0362 "AND @@63 ;AND operand with AC, Current page @@63", // op 0363 "AND @@64 ;AND operand with AC, Current page @@64", // op 0364 "AND @@65 ;AND operand with AC, Current page @@65", // op 0365 "AND @@66 ;AND operand with AC, Current page @@66", // op 0366 "AND @@67 ;AND operand with AC, Current page @@67", // op 0367 "AND @@70 ;AND operand with AC, Current page @@70", // op 0370 "AND @@71 ;AND operand with AC, Current page @@71", // op 0371 "AND @@72 ;AND operand with AC, Current page @@72", // op 0372 "AND @@73 ;AND operand with AC, Current page @@73", // op 0373 "AND @@74 ;AND operand with AC, Current page @@74", // op 0374 "AND @@75 ;AND operand with AC, Current page @@75", // op 0375 "AND @@76 ;AND operand with AC, Current page @@76", // op 0376 "AND @@77 ;AND operand with AC, Current page @@77", // op 0377 "AND I 0000 ;AND operand with AC, Indexed ZP 0000", // op 0400 "AND I 0001 ;AND operand with AC, Indexed ZP 0001", // op 0401 "AND I 0002 ;AND operand with AC, Indexed ZP 0002", // op 0402 "AND I 0003 ;AND operand with AC, Indexed ZP 0003", // op 0403 "AND I 0004 ;AND operand with AC, Indexed ZP 0004", // op 0404 "AND I 0005 ;AND operand with AC, Indexed ZP 0005", // op 0405 "AND I 0006 ;AND operand with AC, Indexed ZP 0006", // op 0406 "AND I 0007 ;AND operand with AC, Indexed ZP 0007", // op 0407 "AND I 0010 ;AND operand with AC, Indexed ZP 0010 [Auto pre-inc]", // op 0410 "AND I 0011 ;AND operand with AC, Indexed ZP 0011 [Auto pre-inc]", // op 0411 "AND I 0012 ;AND operand with AC, Indexed ZP 0012 [Auto pre-inc]", // op 0412 "AND I 0013 ;AND operand with AC, Indexed ZP 0013 [Auto pre-inc]", // op 0413 "AND I 0014 ;AND operand with AC, Indexed ZP 0014 [Auto pre-inc]", // op 0414 "AND I 0015 ;AND operand with AC, Indexed ZP 0015 [Auto pre-inc]", // op 0415 "AND I 0016 ;AND operand with AC, Indexed ZP 0016 [Auto pre-inc]", // op 0416 "AND I 0017 ;AND operand with AC, Indexed ZP 0017 [Auto pre-inc]", // op 0417 "AND I 0020 ;AND operand with AC, Indexed ZP 0020", // op 0420 "AND I 0021 ;AND operand with AC, Indexed ZP 0021", // op 0421 "AND I 0022 ;AND operand with AC, Indexed ZP 0022", // op 0422 "AND I 0023 ;AND operand with AC, Indexed ZP 0023", // op 0423 "AND I 0024 ;AND operand with AC, Indexed ZP 0024", // op 0424 "AND I 0025 ;AND operand with AC, Indexed ZP 0025", // op 0425 "AND I 0026 ;AND operand with AC, Indexed ZP 0026", // op 0426 "AND I 0027 ;AND operand with AC, Indexed ZP 0027", // op 0427 "AND I 0030 ;AND operand with AC, Indexed ZP 0030", // op 0430 "AND I 0031 ;AND operand with AC, Indexed ZP 0031", // op 0431 "AND I 0032 ;AND operand with AC, Indexed ZP 0032", // op 0432 "AND I 0033 ;AND operand with AC, Indexed ZP 0033", // op 0433 "AND I 0034 ;AND operand with AC, Indexed ZP 0034", // op 0434 "AND I 0035 ;AND operand with AC, Indexed ZP 0035", // op 0435 "AND I 0036 ;AND operand with AC, Indexed ZP 0036", // op 0436 "AND I 0037 ;AND operand with AC, Indexed ZP 0037", // op 0437 "AND I 0040 ;AND operand with AC, Indexed ZP 0040", // op 0440 "AND I 0041 ;AND operand with AC, Indexed ZP 0041", // op 0441 "AND I 0042 ;AND operand with AC, Indexed ZP 0042", // op 0442 "AND I 0043 ;AND operand with AC, Indexed ZP 0043", // op 0443 "AND I 0044 ;AND operand with AC, Indexed ZP 0044", // op 0444 "AND I 0045 ;AND operand with AC, Indexed ZP 0045", // op 0445 "AND I 0046 ;AND operand with AC, Indexed ZP 0046", // op 0446 "AND I 0047 ;AND operand with AC, Indexed ZP 0047", // op 0447 "AND I 0050 ;AND operand with AC, Indexed ZP 0050", // op 0450 "AND I 0051 ;AND operand with AC, Indexed ZP 0051", // op 0451 "AND I 0052 ;AND operand with AC, Indexed ZP 0052", // op 0452 "AND I 0053 ;AND operand with AC, Indexed ZP 0053", // op 0453 "AND I 0054 ;AND operand with AC, Indexed ZP 0054", // op 0454 "AND I 0055 ;AND operand with AC, Indexed ZP 0055", // op 0455 "AND I 0056 ;AND operand with AC, Indexed ZP 0056", // op 0456 "AND I 0057 ;AND operand with AC, Indexed ZP 0057", // op 0457 "AND I 0060 ;AND operand with AC, Indexed ZP 0060", // op 0460 "AND I 0061 ;AND operand with AC, Indexed ZP 0061", // op 0461 "AND I 0062 ;AND operand with AC, Indexed ZP 0062", // op 0462 "AND I 0063 ;AND operand with AC, Indexed ZP 0063", // op 0463 "AND I 0064 ;AND operand with AC, Indexed ZP 0064", // op 0464 "AND I 0065 ;AND operand with AC, Indexed ZP 0065", // op 0465 "AND I 0066 ;AND operand with AC, Indexed ZP 0066", // op 0466 "AND I 0067 ;AND operand with AC, Indexed ZP 0067", // op 0467 "AND I 0070 ;AND operand with AC, Indexed ZP 0070", // op 0470 "AND I 0071 ;AND operand with AC, Indexed ZP 0071", // op 0471 "AND I 0072 ;AND operand with AC, Indexed ZP 0072", // op 0472 "AND I 0073 ;AND operand with AC, Indexed ZP 0073", // op 0473 "AND I 0074 ;AND operand with AC, Indexed ZP 0074", // op 0474 "AND I 0075 ;AND operand with AC, Indexed ZP 0075", // op 0475 "AND I 0076 ;AND operand with AC, Indexed ZP 0076", // op 0476 "AND I 0077 ;AND operand with AC, Indexed ZP 0077", // op 0477 "AND I 0100 ;AND operand with AC, Indexed ZP 0100", // op 0500 "AND I 0101 ;AND operand with AC, Indexed ZP 0101", // op 0501 "AND I 0102 ;AND operand with AC, Indexed ZP 0102", // op 0502 "AND I 0103 ;AND operand with AC, Indexed ZP 0103", // op 0503 "AND I 0104 ;AND operand with AC, Indexed ZP 0104", // op 0504 "AND I 0105 ;AND operand with AC, Indexed ZP 0105", // op 0505 "AND I 0106 ;AND operand with AC, Indexed ZP 0106", // op 0506 "AND I 0107 ;AND operand with AC, Indexed ZP 0107", // op 0507 "AND I 0110 ;AND operand with AC, Indexed ZP 0110", // op 0510 "AND I 0111 ;AND operand with AC, Indexed ZP 0111", // op 0511 "AND I 0112 ;AND operand with AC, Indexed ZP 0112", // op 0512 "AND I 0113 ;AND operand with AC, Indexed ZP 0113", // op 0513 "AND I 0114 ;AND operand with AC, Indexed ZP 0114", // op 0514 "AND I 0115 ;AND operand with AC, Indexed ZP 0115", // op 0515 "AND I 0116 ;AND operand with AC, Indexed ZP 0116", // op 0516 "AND I 0117 ;AND operand with AC, Indexed ZP 0117", // op 0517 "AND I 0120 ;AND operand with AC, Indexed ZP 0120", // op 0520 "AND I 0121 ;AND operand with AC, Indexed ZP 0121", // op 0521 "AND I 0122 ;AND operand with AC, Indexed ZP 0122", // op 0522 "AND I 0123 ;AND operand with AC, Indexed ZP 0123", // op 0523 "AND I 0124 ;AND operand with AC, Indexed ZP 0124", // op 0524 "AND I 0125 ;AND operand with AC, Indexed ZP 0125", // op 0525 "AND I 0126 ;AND operand with AC, Indexed ZP 0126", // op 0526 "AND I 0127 ;AND operand with AC, Indexed ZP 0127", // op 0527 "AND I 0130 ;AND operand with AC, Indexed ZP 0130", // op 0530 "AND I 0131 ;AND operand with AC, Indexed ZP 0131", // op 0531 "AND I 0132 ;AND operand with AC, Indexed ZP 0132", // op 0532 "AND I 0133 ;AND operand with AC, Indexed ZP 0133", // op 0533 "AND I 0134 ;AND operand with AC, Indexed ZP 0134", // op 0534 "AND I 0135 ;AND operand with AC, Indexed ZP 0135", // op 0535 "AND I 0136 ;AND operand with AC, Indexed ZP 0136", // op 0536 "AND I 0137 ;AND operand with AC, Indexed ZP 0137", // op 0537 "AND I 0140 ;AND operand with AC, Indexed ZP 0140", // op 0540 "AND I 0141 ;AND operand with AC, Indexed ZP 0141", // op 0541 "AND I 0142 ;AND operand with AC, Indexed ZP 0142", // op 0542 "AND I 0143 ;AND operand with AC, Indexed ZP 0143", // op 0543 "AND I 0144 ;AND operand with AC, Indexed ZP 0144", // op 0544 "AND I 0145 ;AND operand with AC, Indexed ZP 0145", // op 0545 "AND I 0146 ;AND operand with AC, Indexed ZP 0146", // op 0546 "AND I 0147 ;AND operand with AC, Indexed ZP 0147", // op 0547 "AND I 0150 ;AND operand with AC, Indexed ZP 0150", // op 0550 "AND I 0151 ;AND operand with AC, Indexed ZP 0151", // op 0551 "AND I 0152 ;AND operand with AC, Indexed ZP 0152", // op 0552 "AND I 0153 ;AND operand with AC, Indexed ZP 0153", // op 0553 "AND I 0154 ;AND operand with AC, Indexed ZP 0154", // op 0554 "AND I 0155 ;AND operand with AC, Indexed ZP 0155", // op 0555 "AND I 0156 ;AND operand with AC, Indexed ZP 0156", // op 0556 "AND I 0157 ;AND operand with AC, Indexed ZP 0157", // op 0557 "AND I 0160 ;AND operand with AC, Indexed ZP 0160", // op 0560 "AND I 0161 ;AND operand with AC, Indexed ZP 0161", // op 0561 "AND I 0162 ;AND operand with AC, Indexed ZP 0162", // op 0562 "AND I 0163 ;AND operand with AC, Indexed ZP 0163", // op 0563 "AND I 0164 ;AND operand with AC, Indexed ZP 0164", // op 0564 "AND I 0165 ;AND operand with AC, Indexed ZP 0165", // op 0565 "AND I 0166 ;AND operand with AC, Indexed ZP 0166", // op 0566 "AND I 0167 ;AND operand with AC, Indexed ZP 0167", // op 0567 "AND I 0170 ;AND operand with AC, Indexed ZP 0170", // op 0570 "AND I 0171 ;AND operand with AC, Indexed ZP 0171", // op 0571 "AND I 0172 ;AND operand with AC, Indexed ZP 0172", // op 0572 "AND I 0173 ;AND operand with AC, Indexed ZP 0173", // op 0573 "AND I 0174 ;AND operand with AC, Indexed ZP 0174", // op 0574 "AND I 0175 ;AND operand with AC, Indexed ZP 0175", // op 0575 "AND I 0176 ;AND operand with AC, Indexed ZP 0176", // op 0576 "AND I 0177 ;AND operand with AC, Indexed ZP 0177", // op 0577 "AND I @@00 ;AND operand with AC, Indexed Current page @@00", // op 0600 "AND I @@01 ;AND operand with AC, Indexed Current page @@01", // op 0601 "AND I @@02 ;AND operand with AC, Indexed Current page @@02", // op 0602 "AND I @@03 ;AND operand with AC, Indexed Current page @@03", // op 0603 "AND I @@04 ;AND operand with AC, Indexed Current page @@04", // op 0604 "AND I @@05 ;AND operand with AC, Indexed Current page @@05", // op 0605 "AND I @@06 ;AND operand with AC, Indexed Current page @@06", // op 0606 "AND I @@07 ;AND operand with AC, Indexed Current page @@07", // op 0607 "AND I @@10 ;AND operand with AC, Indexed Current page @@10", // op 0610 "AND I @@11 ;AND operand with AC, Indexed Current page @@11", // op 0611 "AND I @@12 ;AND operand with AC, Indexed Current page @@12", // op 0612 "AND I @@13 ;AND operand with AC, Indexed Current page @@13", // op 0613 "AND I @@14 ;AND operand with AC, Indexed Current page @@14", // op 0614 "AND I @@15 ;AND operand with AC, Indexed Current page @@15", // op 0615 "AND I @@16 ;AND operand with AC, Indexed Current page @@16", // op 0616 "AND I @@17 ;AND operand with AC, Indexed Current page @@17", // op 0617 "AND I @@20 ;AND operand with AC, Indexed Current page @@20", // op 0620 "AND I @@21 ;AND operand with AC, Indexed Current page @@21", // op 0621 "AND I @@22 ;AND operand with AC, Indexed Current page @@22", // op 0622 "AND I @@23 ;AND operand with AC, Indexed Current page @@23", // op 0623 "AND I @@24 ;AND operand with AC, Indexed Current page @@24", // op 0624 "AND I @@25 ;AND operand with AC, Indexed Current page @@25", // op 0625 "AND I @@26 ;AND operand with AC, Indexed Current page @@26", // op 0626 "AND I @@27 ;AND operand with AC, Indexed Current page @@27", // op 0627 "AND I @@30 ;AND operand with AC, Indexed Current page @@30", // op 0630 "AND I @@31 ;AND operand with AC, Indexed Current page @@31", // op 0631 "AND I @@32 ;AND operand with AC, Indexed Current page @@32", // op 0632 "AND I @@33 ;AND operand with AC, Indexed Current page @@33", // op 0633 "AND I @@34 ;AND operand with AC, Indexed Current page @@34", // op 0634 "AND I @@35 ;AND operand with AC, Indexed Current page @@35", // op 0635 "AND I @@36 ;AND operand with AC, Indexed Current page @@36", // op 0636 "AND I @@37 ;AND operand with AC, Indexed Current page @@37", // op 0637 "AND I @@40 ;AND operand with AC, Indexed Current page @@40", // op 0640 "AND I @@41 ;AND operand with AC, Indexed Current page @@41", // op 0641 "AND I @@42 ;AND operand with AC, Indexed Current page @@42", // op 0642 "AND I @@43 ;AND operand with AC, Indexed Current page @@43", // op 0643 "AND I @@44 ;AND operand with AC, Indexed Current page @@44", // op 0644 "AND I @@45 ;AND operand with AC, Indexed Current page @@45", // op 0645 "AND I @@46 ;AND operand with AC, Indexed Current page @@46", // op 0646 "AND I @@47 ;AND operand with AC, Indexed Current page @@47", // op 0647 "AND I @@50 ;AND operand with AC, Indexed Current page @@50", // op 0650 "AND I @@51 ;AND operand with AC, Indexed Current page @@51", // op 0651 "AND I @@52 ;AND operand with AC, Indexed Current page @@52", // op 0652 "AND I @@53 ;AND operand with AC, Indexed Current page @@53", // op 0653 "AND I @@54 ;AND operand with AC, Indexed Current page @@54", // op 0654 "AND I @@55 ;AND operand with AC, Indexed Current page @@55", // op 0655 "AND I @@56 ;AND operand with AC, Indexed Current page @@56", // op 0656 "AND I @@57 ;AND operand with AC, Indexed Current page @@57", // op 0657 "AND I @@60 ;AND operand with AC, Indexed Current page @@60", // op 0660 "AND I @@61 ;AND operand with AC, Indexed Current page @@61", // op 0661 "AND I @@62 ;AND operand with AC, Indexed Current page @@62", // op 0662 "AND I @@63 ;AND operand with AC, Indexed Current page @@63", // op 0663 "AND I @@64 ;AND operand with AC, Indexed Current page @@64", // op 0664 "AND I @@65 ;AND operand with AC, Indexed Current page @@65", // op 0665 "AND I @@66 ;AND operand with AC, Indexed Current page @@66", // op 0666 "AND I @@67 ;AND operand with AC, Indexed Current page @@67", // op 0667 "AND I @@70 ;AND operand with AC, Indexed Current page @@70", // op 0670 "AND I @@71 ;AND operand with AC, Indexed Current page @@71", // op 0671 "AND I @@72 ;AND operand with AC, Indexed Current page @@72", // op 0672 "AND I @@73 ;AND operand with AC, Indexed Current page @@73", // op 0673 "AND I @@74 ;AND operand with AC, Indexed Current page @@74", // op 0674 "AND I @@75 ;AND operand with AC, Indexed Current page @@75", // op 0675 "AND I @@76 ;AND operand with AC, Indexed Current page @@76", // op 0676 "AND I @@77 ;AND operand with AC, Indexed Current page @@77", // op 0677 "AND I @@00 ;AND operand with AC, Indexed Current page @@00", // op 0700 "AND I @@01 ;AND operand with AC, Indexed Current page @@01", // op 0701 "AND I @@02 ;AND operand with AC, Indexed Current page @@02", // op 0702 "AND I @@03 ;AND operand with AC, Indexed Current page @@03", // op 0703 "AND I @@04 ;AND operand with AC, Indexed Current page @@04", // op 0704 "AND I @@05 ;AND operand with AC, Indexed Current page @@05", // op 0705 "AND I @@06 ;AND operand with AC, Indexed Current page @@06", // op 0706 "AND I @@07 ;AND operand with AC, Indexed Current page @@07", // op 0707 "AND I @@10 ;AND operand with AC, Indexed Current page @@10", // op 0710 "AND I @@11 ;AND operand with AC, Indexed Current page @@11", // op 0711 "AND I @@12 ;AND operand with AC, Indexed Current page @@12", // op 0712 "AND I @@13 ;AND operand with AC, Indexed Current page @@13", // op 0713 "AND I @@14 ;AND operand with AC, Indexed Current page @@14", // op 0714 "AND I @@15 ;AND operand with AC, Indexed Current page @@15", // op 0715 "AND I @@16 ;AND operand with AC, Indexed Current page @@16", // op 0716 "AND I @@17 ;AND operand with AC, Indexed Current page @@17", // op 0717 "AND I @@20 ;AND operand with AC, Indexed Current page @@20", // op 0720 "AND I @@21 ;AND operand with AC, Indexed Current page @@21", // op 0721 "AND I @@22 ;AND operand with AC, Indexed Current page @@22", // op 0722 "AND I @@23 ;AND operand with AC, Indexed Current page @@23", // op 0723 "AND I @@24 ;AND operand with AC, Indexed Current page @@24", // op 0724 "AND I @@25 ;AND operand with AC, Indexed Current page @@25", // op 0725 "AND I @@26 ;AND operand with AC, Indexed Current page @@26", // op 0726 "AND I @@27 ;AND operand with AC, Indexed Current page @@27", // op 0727 "AND I @@30 ;AND operand with AC, Indexed Current page @@30", // op 0730 "AND I @@31 ;AND operand with AC, Indexed Current page @@31", // op 0731 "AND I @@32 ;AND operand with AC, Indexed Current page @@32", // op 0732 "AND I @@33 ;AND operand with AC, Indexed Current page @@33", // op 0733 "AND I @@34 ;AND operand with AC, Indexed Current page @@34", // op 0734 "AND I @@35 ;AND operand with AC, Indexed Current page @@35", // op 0735 "AND I @@36 ;AND operand with AC, Indexed Current page @@36", // op 0736 "AND I @@37 ;AND operand with AC, Indexed Current page @@37", // op 0737 "AND I @@40 ;AND operand with AC, Indexed Current page @@40", // op 0740 "AND I @@41 ;AND operand with AC, Indexed Current page @@41", // op 0741 "AND I @@42 ;AND operand with AC, Indexed Current page @@42", // op 0742 "AND I @@43 ;AND operand with AC, Indexed Current page @@43", // op 0743 "AND I @@44 ;AND operand with AC, Indexed Current page @@44", // op 0744 "AND I @@45 ;AND operand with AC, Indexed Current page @@45", // op 0745 "AND I @@46 ;AND operand with AC, Indexed Current page @@46", // op 0746 "AND I @@47 ;AND operand with AC, Indexed Current page @@47", // op 0747 "AND I @@50 ;AND operand with AC, Indexed Current page @@50", // op 0750 "AND I @@51 ;AND operand with AC, Indexed Current page @@51", // op 0751 "AND I @@52 ;AND operand with AC, Indexed Current page @@52", // op 0752 "AND I @@53 ;AND operand with AC, Indexed Current page @@53", // op 0753 "AND I @@54 ;AND operand with AC, Indexed Current page @@54", // op 0754 "AND I @@55 ;AND operand with AC, Indexed Current page @@55", // op 0755 "AND I @@56 ;AND operand with AC, Indexed Current page @@56", // op 0756 "AND I @@57 ;AND operand with AC, Indexed Current page @@57", // op 0757 "AND I @@60 ;AND operand with AC, Indexed Current page @@60", // op 0760 "AND I @@61 ;AND operand with AC, Indexed Current page @@61", // op 0761 "AND I @@62 ;AND operand with AC, Indexed Current page @@62", // op 0762 "AND I @@63 ;AND operand with AC, Indexed Current page @@63", // op 0763 "AND I @@64 ;AND operand with AC, Indexed Current page @@64", // op 0764 "AND I @@65 ;AND operand with AC, Indexed Current page @@65", // op 0765 "AND I @@66 ;AND operand with AC, Indexed Current page @@66", // op 0766 "AND I @@67 ;AND operand with AC, Indexed Current page @@67", // op 0767 "AND I @@70 ;AND operand with AC, Indexed Current page @@70", // op 0770 "AND I @@71 ;AND operand with AC, Indexed Current page @@71", // op 0771 "AND I @@72 ;AND operand with AC, Indexed Current page @@72", // op 0772 "AND I @@73 ;AND operand with AC, Indexed Current page @@73", // op 0773 "AND I @@74 ;AND operand with AC, Indexed Current page @@74", // op 0774 "AND I @@75 ;AND operand with AC, Indexed Current page @@75", // op 0775 "AND I @@76 ;AND operand with AC, Indexed Current page @@76", // op 0776 "AND I @@77 ;AND operand with AC, Indexed Current page @@77", // op 0777 "TAD 0000 ;Add operand to AC, ZP 0000 ", // op 1000 "TAD 0001 ;Add operand to AC, ZP 0001", // op 1001 "TAD 0002 ;Add operand to AC, ZP 0002", // op 1002 "TAD 0003 ;Add operand to AC, ZP 0003", // op 1003 "TAD 0004 ;Add operand to AC, ZP 0004", // op 1004 "TAD 0005 ;Add operand to AC, ZP 0005", // op 1005 "TAD 0006 ;Add operand to AC, ZP 0006", // op 1006 "TAD 0007 ;Add operand to AC, ZP 0007", // op 1007 "TAD 0010 ;Add operand to AC, ZP 0010", // op 1010 "TAD 0011 ;Add operand to AC, ZP 0011", // op 1011 "TAD 0012 ;Add operand to AC, ZP 0012", // op 1012 "TAD 0013 ;Add operand to AC, ZP 0013", // op 1013 "TAD 0014 ;Add operand to AC, ZP 0014", // op 1014 "TAD 0015 ;Add operand to AC, ZP 0015", // op 1015 "TAD 0016 ;Add operand to AC, ZP 0016", // op 1016 "TAD 0017 ;Add operand to AC, ZP 0017", // op 1017 "TAD 0020 ;Add operand to AC, ZP 0020", // op 1020 "TAD 0021 ;Add operand to AC, ZP 0021", // op 1021 "TAD 0022 ;Add operand to AC, ZP 0022", // op 1022 "TAD 0023 ;Add operand to AC, ZP 0023", // op 1023 "TAD 0024 ;Add operand to AC, ZP 0024", // op 1024 "TAD 0025 ;Add operand to AC, ZP 0025", // op 1025 "TAD 0026 ;Add operand to AC, ZP 0026", // op 1026 "TAD 0027 ;Add operand to AC, ZP 0027", // op 1027 "TAD 0030 ;Add operand to AC, ZP 0030", // op 1030 "TAD 0031 ;Add operand to AC, ZP 0031", // op 1031 "TAD 0032 ;Add operand to AC, ZP 0032", // op 1032 "TAD 0033 ;Add operand to AC, ZP 0033", // op 1033 "TAD 0034 ;Add operand to AC, ZP 0034", // op 1034 "TAD 0035 ;Add operand to AC, ZP 0035", // op 1035 "TAD 0036 ;Add operand to AC, ZP 0036", // op 1036 "TAD 0037 ;Add operand to AC, ZP 0037", // op 1037 "TAD 0040 ;Add operand to AC, ZP 0040", // op 1040 "TAD 0041 ;Add operand to AC, ZP 0041", // op 1041 "TAD 0042 ;Add operand to AC, ZP 0042", // op 1042 "TAD 0043 ;Add operand to AC, ZP 0043", // op 1043 "TAD 0044 ;Add operand to AC, ZP 0044", // op 1044 "TAD 0045 ;Add operand to AC, ZP 0045", // op 1045 "TAD 0046 ;Add operand to AC, ZP 0046", // op 1046 "TAD 0047 ;Add operand to AC, ZP 0047", // op 1047 "TAD 0050 ;Add operand to AC, ZP 0050", // op 1050 "TAD 0051 ;Add operand to AC, ZP 0051", // op 1051 "TAD 0052 ;Add operand to AC, ZP 0052", // op 1052 "TAD 0053 ;Add operand to AC, ZP 0053", // op 1053 "TAD 0054 ;Add operand to AC, ZP 0054", // op 1054 "TAD 0055 ;Add operand to AC, ZP 0055", // op 1055 "TAD 0056 ;Add operand to AC, ZP 0056", // op 1056 "TAD 0057 ;Add operand to AC, ZP 0057", // op 1057 "TAD 0060 ;Add operand to AC, ZP 0060", // op 1060 "TAD 0061 ;Add operand to AC, ZP 0061", // op 1061 "TAD 0062 ;Add operand to AC, ZP 0062", // op 1062 "TAD 0063 ;Add operand to AC, ZP 0063", // op 1063 "TAD 0064 ;Add operand to AC, ZP 0064", // op 1064 "TAD 0065 ;Add operand to AC, ZP 0065", // op 1065 "TAD 0066 ;Add operand to AC, ZP 0066", // op 1066 "TAD 0067 ;Add operand to AC, ZP 0067", // op 1067 "TAD 0070 ;Add operand to AC, ZP 0070", // op 1070 "TAD 0071 ;Add operand to AC, ZP 0071", // op 1071 "TAD 0072 ;Add operand to AC, ZP 0072", // op 1072 "TAD 0073 ;Add operand to AC, ZP 0073", // op 1073 "TAD 0074 ;Add operand to AC, ZP 0074", // op 1074 "TAD 0075 ;Add operand to AC, ZP 0075", // op 1075 "TAD 0076 ;Add operand to AC, ZP 0076", // op 1076 "TAD 0077 ;Add operand to AC, ZP 0077", // op 1077 "TAD 0100 ;Add operand to AC, ZP 0100", // op 1100 "TAD 0101 ;Add operand to AC, ZP 0101", // op 1101 "TAD 0102 ;Add operand to AC, ZP 0102", // op 1102 "TAD 0103 ;Add operand to AC, ZP 0103", // op 1103 "TAD 0104 ;Add operand to AC, ZP 0104", // op 1104 "TAD 0105 ;Add operand to AC, ZP 0105", // op 1105 "TAD 0106 ;Add operand to AC, ZP 0106", // op 1106 "TAD 0107 ;Add operand to AC, ZP 0107", // op 1107 "TAD 0110 ;Add operand to AC, ZP 0110", // op 1110 "TAD 0111 ;Add operand to AC, ZP 0111", // op 1111 "TAD 0112 ;Add operand to AC, ZP 0112", // op 1112 "TAD 0113 ;Add operand to AC, ZP 0113", // op 1113 "TAD 0114 ;Add operand to AC, ZP 0114", // op 1114 "TAD 0115 ;Add operand to AC, ZP 0115", // op 1115 "TAD 0116 ;Add operand to AC, ZP 0116", // op 1116 "TAD 0117 ;Add operand to AC, ZP 0117", // op 1117 "TAD 0120 ;Add operand to AC, ZP 0120", // op 1120 "TAD 0121 ;Add operand to AC, ZP 0121", // op 1121 "TAD 0122 ;Add operand to AC, ZP 0122", // op 1122 "TAD 0123 ;Add operand to AC, ZP 0123", // op 1123 "TAD 0124 ;Add operand to AC, ZP 0124", // op 1124 "TAD 0125 ;Add operand to AC, ZP 0125", // op 1125 "TAD 0126 ;Add operand to AC, ZP 0126", // op 1126 "TAD 0127 ;Add operand to AC, ZP 0127", // op 1127 "TAD 0130 ;Add operand to AC, ZP 0130", // op 1130 "TAD 0131 ;Add operand to AC, ZP 0131", // op 1131 "TAD 0132 ;Add operand to AC, ZP 0132", // op 1132 "TAD 0133 ;Add operand to AC, ZP 0133", // op 1133 "TAD 0134 ;Add operand to AC, ZP 0134", // op 1134 "TAD 0135 ;Add operand to AC, ZP 0135", // op 1135 "TAD 0136 ;Add operand to AC, ZP 0136", // op 1136 "TAD 0137 ;Add operand to AC, ZP 0137", // op 1137 "TAD 0140 ;Add operand to AC, ZP 0140", // op 1140 "TAD 0141 ;Add operand to AC, ZP 0141", // op 1141 "TAD 0142 ;Add operand to AC, ZP 0142", // op 1142 "TAD 0143 ;Add operand to AC, ZP 0143", // op 1143 "TAD 0144 ;Add operand to AC, ZP 0144", // op 1144 "TAD 0145 ;Add operand to AC, ZP 0145", // op 1145 "TAD 0146 ;Add operand to AC, ZP 0146", // op 1146 "TAD 0147 ;Add operand to AC, ZP 0147", // op 1147 "TAD 0150 ;Add operand to AC, ZP 0150", // op 1150 "TAD 0151 ;Add operand to AC, ZP 0151", // op 1151 "TAD 0152 ;Add operand to AC, ZP 0152", // op 1152 "TAD 0153 ;Add operand to AC, ZP 0153", // op 1153 "TAD 0154 ;Add operand to AC, ZP 0154", // op 1154 "TAD 0155 ;Add operand to AC, ZP 0155", // op 1155 "TAD 0156 ;Add operand to AC, ZP 0156", // op 1156 "TAD 0157 ;Add operand to AC, ZP 0157", // op 1157 "TAD 0160 ;Add operand to AC, ZP 0160", // op 1160 "TAD 0161 ;Add operand to AC, ZP 0161", // op 1161 "TAD 0162 ;Add operand to AC, ZP 0162", // op 1162 "TAD 0163 ;Add operand to AC, ZP 0163", // op 1163 "TAD 0164 ;Add operand to AC, ZP 0164", // op 1164 "TAD 0165 ;Add operand to AC, ZP 0165", // op 1165 "TAD 0166 ;Add operand to AC, ZP 0166", // op 1166 "TAD 0167 ;Add operand to AC, ZP 0167", // op 1167 "TAD 0170 ;Add operand to AC, ZP 0170", // op 1170 "TAD 0171 ;Add operand to AC, ZP 0171", // op 1171 "TAD 0172 ;Add operand to AC, ZP 0172", // op 1172 "TAD 0173 ;Add operand to AC, ZP 0173", // op 1173 "TAD 0174 ;Add operand to AC, ZP 0174", // op 1174 "TAD 0175 ;Add operand to AC, ZP 0175", // op 1175 "TAD 0176 ;Add operand to AC, ZP 0176", // op 1176 "TAD 0177 ;Add operand to AC, ZP 0177", // op 1177 "TAD @@00 ;Add operand to AC, Current page @@00", // op 1200 "TAD @@01 ;Add operand to AC, Current page @@01", // op 1201 "TAD @@02 ;Add operand to AC, Current page @@02", // op 1202 "TAD @@03 ;Add operand to AC, Current page @@03", // op 1203 "TAD @@04 ;Add operand to AC, Current page @@04", // op 1204 "TAD @@05 ;Add operand to AC, Current page @@05", // op 1205 "TAD @@06 ;Add operand to AC, Current page @@06", // op 1206 "TAD @@07 ;Add operand to AC, Current page @@07", // op 1207 "TAD @@10 ;Add operand to AC, Current page @@10", // op 1210 "TAD @@11 ;Add operand to AC, Current page @@11", // op 1211 "TAD @@12 ;Add operand to AC, Current page @@12", // op 1212 "TAD @@13 ;Add operand to AC, Current page @@13", // op 1213 "TAD @@14 ;Add operand to AC, Current page @@14", // op 1214 "TAD @@15 ;Add operand to AC, Current page @@15", // op 1215 "TAD @@16 ;Add operand to AC, Current page @@16", // op 1216 "TAD @@17 ;Add operand to AC, Current page @@17", // op 1217 "TAD @@20 ;Add operand to AC, Current page @@20", // op 1220 "TAD @@21 ;Add operand to AC, Current page @@21", // op 1221 "TAD @@22 ;Add operand to AC, Current page @@22", // op 1222 "TAD @@23 ;Add operand to AC, Current page @@23", // op 1223 "TAD @@24 ;Add operand to AC, Current page @@24", // op 1224 "TAD @@25 ;Add operand to AC, Current page @@25", // op 1225 "TAD @@26 ;Add operand to AC, Current page @@26", // op 1226 "TAD @@27 ;Add operand to AC, Current page @@27", // op 1227 "TAD @@30 ;Add operand to AC, Current page @@30", // op 1230 "TAD @@31 ;Add operand to AC, Current page @@31", // op 1231 "TAD @@32 ;Add operand to AC, Current page @@32", // op 1232 "TAD @@33 ;Add operand to AC, Current page @@33", // op 1233 "TAD @@34 ;Add operand to AC, Current page @@34", // op 1234 "TAD @@35 ;Add operand to AC, Current page @@35", // op 1235 "TAD @@36 ;Add operand to AC, Current page @@36", // op 1236 "TAD @@37 ;Add operand to AC, Current page @@37", // op 1237 "TAD @@40 ;Add operand to AC, Current page @@40", // op 1240 "TAD @@41 ;Add operand to AC, Current page @@41", // op 1241 "TAD @@42 ;Add operand to AC, Current page @@42", // op 1242 "TAD @@43 ;Add operand to AC, Current page @@43", // op 1243 "TAD @@44 ;Add operand to AC, Current page @@44", // op 1244 "TAD @@45 ;Add operand to AC, Current page @@45", // op 1245 "TAD @@46 ;Add operand to AC, Current page @@46", // op 1246 "TAD @@47 ;Add operand to AC, Current page @@47", // op 1247 "TAD @@50 ;Add operand to AC, Current page @@50", // op 1250 "TAD @@51 ;Add operand to AC, Current page @@51", // op 1251 "TAD @@52 ;Add operand to AC, Current page @@52", // op 1252 "TAD @@53 ;Add operand to AC, Current page @@53", // op 1253 "TAD @@54 ;Add operand to AC, Current page @@54", // op 1254 "TAD @@55 ;Add operand to AC, Current page @@55", // op 1255 "TAD @@56 ;Add operand to AC, Current page @@56", // op 1256 "TAD @@57 ;Add operand to AC, Current page @@57", // op 1257 "TAD @@60 ;Add operand to AC, Current page @@60", // op 1260 "TAD @@61 ;Add operand to AC, Current page @@61", // op 1261 "TAD @@62 ;Add operand to AC, Current page @@62", // op 1262 "TAD @@63 ;Add operand to AC, Current page @@63", // op 1263 "TAD @@64 ;Add operand to AC, Current page @@64", // op 1264 "TAD @@65 ;Add operand to AC, Current page @@65", // op 1265 "TAD @@66 ;Add operand to AC, Current page @@66", // op 1266 "TAD @@67 ;Add operand to AC, Current page @@67", // op 1267 "TAD @@70 ;Add operand to AC, Current page @@70", // op 1270 "TAD @@71 ;Add operand to AC, Current page @@71", // op 1271 "TAD @@72 ;Add operand to AC, Current page @@72", // op 1272 "TAD @@73 ;Add operand to AC, Current page @@73", // op 1273 "TAD @@74 ;Add operand to AC, Current page @@74", // op 1274 "TAD @@75 ;Add operand to AC, Current page @@75", // op 1275 "TAD @@76 ;Add operand to AC, Current page @@76", // op 1276 "TAD @@77 ;Add operand to AC, Current page @@77", // op 1277 "TAD @@00 ;Add operand to AC, Current page @@00", // op 1300 "TAD @@01 ;Add operand to AC, Current page @@01", // op 1301 "TAD @@02 ;Add operand to AC, Current page @@02", // op 1302 "TAD @@03 ;Add operand to AC, Current page @@03", // op 1303 "TAD @@04 ;Add operand to AC, Current page @@04", // op 1304 "TAD @@05 ;Add operand to AC, Current page @@05", // op 1305 "TAD @@06 ;Add operand to AC, Current page @@06", // op 1306 "TAD @@07 ;Add operand to AC, Current page @@07", // op 1307 "TAD @@10 ;Add operand to AC, Current page @@10", // op 1310 "TAD @@11 ;Add operand to AC, Current page @@11", // op 1311 "TAD @@12 ;Add operand to AC, Current page @@12", // op 1312 "TAD @@13 ;Add operand to AC, Current page @@13", // op 1313 "TAD @@14 ;Add operand to AC, Current page @@14", // op 1314 "TAD @@15 ;Add operand to AC, Current page @@15", // op 1315 "TAD @@16 ;Add operand to AC, Current page @@16", // op 1316 "TAD @@17 ;Add operand to AC, Current page @@17", // op 1317 "TAD @@20 ;Add operand to AC, Current page @@20", // op 1320 "TAD @@21 ;Add operand to AC, Current page @@21", // op 1321 "TAD @@22 ;Add operand to AC, Current page @@22", // op 1322 "TAD @@23 ;Add operand to AC, Current page @@23", // op 1323 "TAD @@24 ;Add operand to AC, Current page @@24", // op 1324 "TAD @@25 ;Add operand to AC, Current page @@25", // op 1325 "TAD @@26 ;Add operand to AC, Current page @@26", // op 1326 "TAD @@27 ;Add operand to AC, Current page @@27", // op 1327 "TAD @@30 ;Add operand to AC, Current page @@30", // op 1330 "TAD @@31 ;Add operand to AC, Current page @@31", // op 1331 "TAD @@32 ;Add operand to AC, Current page @@32", // op 1332 "TAD @@33 ;Add operand to AC, Current page @@33", // op 1333 "TAD @@34 ;Add operand to AC, Current page @@34", // op 1334 "TAD @@35 ;Add operand to AC, Current page @@35", // op 1335 "TAD @@36 ;Add operand to AC, Current page @@36", // op 1336 "TAD @@37 ;Add operand to AC, Current page @@37", // op 1337 "TAD @@40 ;Add operand to AC, Current page @@40", // op 1340 "TAD @@41 ;Add operand to AC, Current page @@41", // op 1341 "TAD @@42 ;Add operand to AC, Current page @@42", // op 1342 "TAD @@43 ;Add operand to AC, Current page @@43", // op 1343 "TAD @@44 ;Add operand to AC, Current page @@44", // op 1344 "TAD @@45 ;Add operand to AC, Current page @@45", // op 1345 "TAD @@46 ;Add operand to AC, Current page @@46", // op 1346 "TAD @@47 ;Add operand to AC, Current page @@47", // op 1347 "TAD @@50 ;Add operand to AC, Current page @@50", // op 1350 "TAD @@51 ;Add operand to AC, Current page @@51", // op 1351 "TAD @@52 ;Add operand to AC, Current page @@52", // op 1352 "TAD @@53 ;Add operand to AC, Current page @@53", // op 1353 "TAD @@54 ;Add operand to AC, Current page @@54", // op 1354 "TAD @@55 ;Add operand to AC, Current page @@55", // op 1355 "TAD @@56 ;Add operand to AC, Current page @@56", // op 1356 "TAD @@57 ;Add operand to AC, Current page @@57", // op 1357 "TAD @@60 ;Add operand to AC, Current page @@60", // op 1360 "TAD @@61 ;Add operand to AC, Current page @@61", // op 1361 "TAD @@62 ;Add operand to AC, Current page @@62", // op 1362 "TAD @@63 ;Add operand to AC, Current page @@63", // op 1363 "TAD @@64 ;Add operand to AC, Current page @@64", // op 1364 "TAD @@65 ;Add operand to AC, Current page @@65", // op 1365 "TAD @@66 ;Add operand to AC, Current page @@66", // op 1366 "TAD @@67 ;Add operand to AC, Current page @@67", // op 1367 "TAD @@70 ;Add operand to AC, Current page @@70", // op 1370 "TAD @@71 ;Add operand to AC, Current page @@71", // op 1371 "TAD @@72 ;Add operand to AC, Current page @@72", // op 1372 "TAD @@73 ;Add operand to AC, Current page @@73", // op 1373 "TAD @@74 ;Add operand to AC, Current page @@74", // op 1374 "TAD @@75 ;Add operand to AC, Current page @@75", // op 1375 "TAD @@76 ;Add operand to AC, Current page @@76", // op 1376 "TAD @@77 ;Add operand to AC, Current page @@77", // op 1377 "TAD I 0000 ;Add operand to AC, Indexed ZP 0000", // op 1400 "TAD I 0001 ;Add operand to AC, Indexed ZP 0001", // op 1401 "TAD I 0002 ;Add operand to AC, Indexed ZP 0002", // op 1402 "TAD I 0003 ;Add operand to AC, Indexed ZP 0003", // op 1403 "TAD I 0004 ;Add operand to AC, Indexed ZP 0004", // op 1404 "TAD I 0005 ;Add operand to AC, Indexed ZP 0005", // op 1405 "TAD I 0006 ;Add operand to AC, Indexed ZP 0006", // op 1406 "TAD I 0007 ;Add operand to AC, Indexed ZP 0007", // op 1407 "TAD I 0010 ;Add operand to AC, Indexed ZP 0010 [Auto pre-inc]", // op 1410 "TAD I 0011 ;Add operand to AC, Indexed ZP 0011 [Auto pre-inc]", // op 1411 "TAD I 0012 ;Add operand to AC, Indexed ZP 0012 [Auto pre-inc]", // op 1412 "TAD I 0013 ;Add operand to AC, Indexed ZP 0013 [Auto pre-inc]", // op 1413 "TAD I 0014 ;Add operand to AC, Indexed ZP 0014 [Auto pre-inc]", // op 1414 "TAD I 0015 ;Add operand to AC, Indexed ZP 0015 [Auto pre-inc]", // op 1415 "TAD I 0016 ;Add operand to AC, Indexed ZP 0016 [Auto pre-inc]", // op 1416 "TAD I 0017 ;Add operand to AC, Indexed ZP 0017 [Auto pre-inc]", // op 1417 "TAD I 0020 ;Add operand to AC, Indexed ZP 0020", // op 1420 "TAD I 0021 ;Add operand to AC, Indexed ZP 0021", // op 1421 "TAD I 0022 ;Add operand to AC, Indexed ZP 0022", // op 1422 "TAD I 0023 ;Add operand to AC, Indexed ZP 0023", // op 1423 "TAD I 0024 ;Add operand to AC, Indexed ZP 0024", // op 1424 "TAD I 0025 ;Add operand to AC, Indexed ZP 0025", // op 1425 "TAD I 0026 ;Add operand to AC, Indexed ZP 0026", // op 1426 "TAD I 0027 ;Add operand to AC, Indexed ZP 0027", // op 1427 "TAD I 0030 ;Add operand to AC, Indexed ZP 0030", // op 1430 "TAD I 0031 ;Add operand to AC, Indexed ZP 0031", // op 1431 "TAD I 0032 ;Add operand to AC, Indexed ZP 0032", // op 1432 "TAD I 0033 ;Add operand to AC, Indexed ZP 0033", // op 1433 "TAD I 0034 ;Add operand to AC, Indexed ZP 0034", // op 1434 "TAD I 0035 ;Add operand to AC, Indexed ZP 0035", // op 1435 "TAD I 0036 ;Add operand to AC, Indexed ZP 0036", // op 1436 "TAD I 0037 ;Add operand to AC, Indexed ZP 0037", // op 1437 "TAD I 0040 ;Add operand to AC, Indexed ZP 0040", // op 1440 "TAD I 0041 ;Add operand to AC, Indexed ZP 0041", // op 1441 "TAD I 0042 ;Add operand to AC, Indexed ZP 0042", // op 1442 "TAD I 0043 ;Add operand to AC, Indexed ZP 0043", // op 1443 "TAD I 0044 ;Add operand to AC, Indexed ZP 0044", // op 1444 "TAD I 0045 ;Add operand to AC, Indexed ZP 0045", // op 1445 "TAD I 0046 ;Add operand to AC, Indexed ZP 0046", // op 1446 "TAD I 0047 ;Add operand to AC, Indexed ZP 0047", // op 1447 "TAD I 0050 ;Add operand to AC, Indexed ZP 0050", // op 1450 "TAD I 0051 ;Add operand to AC, Indexed ZP 0051", // op 1451 "TAD I 0052 ;Add operand to AC, Indexed ZP 0052", // op 1452 "TAD I 0053 ;Add operand to AC, Indexed ZP 0053", // op 1453 "TAD I 0054 ;Add operand to AC, Indexed ZP 0054", // op 1454 "TAD I 0055 ;Add operand to AC, Indexed ZP 0055", // op 1455 "TAD I 0056 ;Add operand to AC, Indexed ZP 0056", // op 1456 "TAD I 0057 ;Add operand to AC, Indexed ZP 0057", // op 1457 "TAD I 0060 ;Add operand to AC, Indexed ZP 0060", // op 1460 "TAD I 0061 ;Add operand to AC, Indexed ZP 0061", // op 1461 "TAD I 0062 ;Add operand to AC, Indexed ZP 0062", // op 1462 "TAD I 0063 ;Add operand to AC, Indexed ZP 0063", // op 1463 "TAD I 0064 ;Add operand to AC, Indexed ZP 0064", // op 1464 "TAD I 0065 ;Add operand to AC, Indexed ZP 0065", // op 1465 "TAD I 0066 ;Add operand to AC, Indexed ZP 0066", // op 1466 "TAD I 0067 ;Add operand to AC, Indexed ZP 0067", // op 1467 "TAD I 0070 ;Add operand to AC, Indexed ZP 0070", // op 1470 "TAD I 0071 ;Add operand to AC, Indexed ZP 0071", // op 1471 "TAD I 0072 ;Add operand to AC, Indexed ZP 0072", // op 1472 "TAD I 0073 ;Add operand to AC, Indexed ZP 0073", // op 1473 "TAD I 0074 ;Add operand to AC, Indexed ZP 0074", // op 1474 "TAD I 0075 ;Add operand to AC, Indexed ZP 0075", // op 1475 "TAD I 0076 ;Add operand to AC, Indexed ZP 0076", // op 1476 "TAD I 0077 ;Add operand to AC, Indexed ZP 0077", // op 1477 "TAD I 0100 ;Add operand to AC, Indexed ZP 0100", // op 1500 "TAD I 0101 ;Add operand to AC, Indexed ZP 0101", // op 1501 "TAD I 0102 ;Add operand to AC, Indexed ZP 0102", // op 1502 "TAD I 0103 ;Add operand to AC, Indexed ZP 0103", // op 1503 "TAD I 0104 ;Add operand to AC, Indexed ZP 0104", // op 1504 "TAD I 0105 ;Add operand to AC, Indexed ZP 0105", // op 1505 "TAD I 0106 ;Add operand to AC, Indexed ZP 0106", // op 1506 "TAD I 0107 ;Add operand to AC, Indexed ZP 0107", // op 1507 "TAD I 0110 ;Add operand to AC, Indexed ZP 0110", // op 1510 "TAD I 0111 ;Add operand to AC, Indexed ZP 0111", // op 1511 "TAD I 0112 ;Add operand to AC, Indexed ZP 0112", // op 1512 "TAD I 0113 ;Add operand to AC, Indexed ZP 0113", // op 1513 "TAD I 0114 ;Add operand to AC, Indexed ZP 0114", // op 1514 "TAD I 0115 ;Add operand to AC, Indexed ZP 0115", // op 1515 "TAD I 0116 ;Add operand to AC, Indexed ZP 0116", // op 1516 "TAD I 0117 ;Add operand to AC, Indexed ZP 0117", // op 1517 "TAD I 0120 ;Add operand to AC, Indexed ZP 0120", // op 1520 "TAD I 0121 ;Add operand to AC, Indexed ZP 0121", // op 1521 "TAD I 0122 ;Add operand to AC, Indexed ZP 0122", // op 1522 "TAD I 0123 ;Add operand to AC, Indexed ZP 0123", // op 1523 "TAD I 0124 ;Add operand to AC, Indexed ZP 0124", // op 1524 "TAD I 0125 ;Add operand to AC, Indexed ZP 0125", // op 1525 "TAD I 0126 ;Add operand to AC, Indexed ZP 0126", // op 1526 "TAD I 0127 ;Add operand to AC, Indexed ZP 0127", // op 1527 "TAD I 0130 ;Add operand to AC, Indexed ZP 0130", // op 1530 "TAD I 0131 ;Add operand to AC, Indexed ZP 0131", // op 1531 "TAD I 0132 ;Add operand to AC, Indexed ZP 0132", // op 1532 "TAD I 0133 ;Add operand to AC, Indexed ZP 0133", // op 1533 "TAD I 0134 ;Add operand to AC, Indexed ZP 0134", // op 1534 "TAD I 0135 ;Add operand to AC, Indexed ZP 0135", // op 1535 "TAD I 0136 ;Add operand to AC, Indexed ZP 0136", // op 1536 "TAD I 0137 ;Add operand to AC, Indexed ZP 0137", // op 1537 "TAD I 0140 ;Add operand to AC, Indexed ZP 0140", // op 1540 "TAD I 0141 ;Add operand to AC, Indexed ZP 0141", // op 1541 "TAD I 0142 ;Add operand to AC, Indexed ZP 0142", // op 1542 "TAD I 0143 ;Add operand to AC, Indexed ZP 0143", // op 1543 "TAD I 0144 ;Add operand to AC, Indexed ZP 0144", // op 1544 "TAD I 0145 ;Add operand to AC, Indexed ZP 0145", // op 1545 "TAD I 0146 ;Add operand to AC, Indexed ZP 0146", // op 1546 "TAD I 0147 ;Add operand to AC, Indexed ZP 0147", // op 1547 "TAD I 0150 ;Add operand to AC, Indexed ZP 0150", // op 1550 "TAD I 0151 ;Add operand to AC, Indexed ZP 0151", // op 1551 "TAD I 0152 ;Add operand to AC, Indexed ZP 0152", // op 1552 "TAD I 0153 ;Add operand to AC, Indexed ZP 0153", // op 1553 "TAD I 0154 ;Add operand to AC, Indexed ZP 0154", // op 1554 "TAD I 0155 ;Add operand to AC, Indexed ZP 0155", // op 1555 "TAD I 0156 ;Add operand to AC, Indexed ZP 0156", // op 1556 "TAD I 0157 ;Add operand to AC, Indexed ZP 0157", // op 1557 "TAD I 0160 ;Add operand to AC, Indexed ZP 0160", // op 1560 "TAD I 0161 ;Add operand to AC, Indexed ZP 0161", // op 1561 "TAD I 0162 ;Add operand to AC, Indexed ZP 0162", // op 1562 "TAD I 0163 ;Add operand to AC, Indexed ZP 0163", // op 1563 "TAD I 0164 ;Add operand to AC, Indexed ZP 0164", // op 1564 "TAD I 0165 ;Add operand to AC, Indexed ZP 0165", // op 1565 "TAD I 0166 ;Add operand to AC, Indexed ZP 0166", // op 1566 "TAD I 0167 ;Add operand to AC, Indexed ZP 0167", // op 1567 "TAD I 0170 ;Add operand to AC, Indexed ZP 0170", // op 1570 "TAD I 0171 ;Add operand to AC, Indexed ZP 0171", // op 1571 "TAD I 0172 ;Add operand to AC, Indexed ZP 0172", // op 1572 "TAD I 0173 ;Add operand to AC, Indexed ZP 0173", // op 1573 "TAD I 0174 ;Add operand to AC, Indexed ZP 0174", // op 1574 "TAD I 0175 ;Add operand to AC, Indexed ZP 0175", // op 1575 "TAD I 0176 ;Add operand to AC, Indexed ZP 0176", // op 1576 "TAD I 0177 ;Add operand to AC, Indexed ZP 0177", // op 1577 "TAD I @@00 ;Add operand to AC, Indexed Current page @@00", // op 1600 "TAD I @@01 ;Add operand to AC, Indexed Current page @@01", // op 1601 "TAD I @@02 ;Add operand to AC, Indexed Current page @@02", // op 1602 "TAD I @@03 ;Add operand to AC, Indexed Current page @@03", // op 1603 "TAD I @@04 ;Add operand to AC, Indexed Current page @@04", // op 1604 "TAD I @@05 ;Add operand to AC, Indexed Current page @@05", // op 1605 "TAD I @@06 ;Add operand to AC, Indexed Current page @@06", // op 1606 "TAD I @@07 ;Add operand to AC, Indexed Current page @@07", // op 1607 "TAD I @@10 ;Add operand to AC, Indexed Current page @@10", // op 1610 "TAD I @@11 ;Add operand to AC, Indexed Current page @@11", // op 1611 "TAD I @@12 ;Add operand to AC, Indexed Current page @@12", // op 1612 "TAD I @@13 ;Add operand to AC, Indexed Current page @@13", // op 1613 "TAD I @@14 ;Add operand to AC, Indexed Current page @@14", // op 1614 "TAD I @@15 ;Add operand to AC, Indexed Current page @@15", // op 1615 "TAD I @@16 ;Add operand to AC, Indexed Current page @@16", // op 1616 "TAD I @@17 ;Add operand to AC, Indexed Current page @@17", // op 1617 "TAD I @@20 ;Add operand to AC, Indexed Current page @@20", // op 1620 "TAD I @@21 ;Add operand to AC, Indexed Current page @@21", // op 1621 "TAD I @@22 ;Add operand to AC, Indexed Current page @@22", // op 1622 "TAD I @@23 ;Add operand to AC, Indexed Current page @@23", // op 1623 "TAD I @@24 ;Add operand to AC, Indexed Current page @@24", // op 1624 "TAD I @@25 ;Add operand to AC, Indexed Current page @@25", // op 1625 "TAD I @@26 ;Add operand to AC, Indexed Current page @@26", // op 1626 "TAD I @@27 ;Add operand to AC, Indexed Current page @@27", // op 1627 "TAD I @@30 ;Add operand to AC, Indexed Current page @@30", // op 1630 "TAD I @@31 ;Add operand to AC, Indexed Current page @@31", // op 1631 "TAD I @@32 ;Add operand to AC, Indexed Current page @@32", // op 1632 "TAD I @@33 ;Add operand to AC, Indexed Current page @@33", // op 1633 "TAD I @@34 ;Add operand to AC, Indexed Current page @@34", // op 1634 "TAD I @@35 ;Add operand to AC, Indexed Current page @@35", // op 1635 "TAD I @@36 ;Add operand to AC, Indexed Current page @@36", // op 1636 "TAD I @@37 ;Add operand to AC, Indexed Current page @@37", // op 1637 "TAD I @@40 ;Add operand to AC, Indexed Current page @@40", // op 1640 "TAD I @@41 ;Add operand to AC, Indexed Current page @@41", // op 1641 "TAD I @@42 ;Add operand to AC, Indexed Current page @@42", // op 1642 "TAD I @@43 ;Add operand to AC, Indexed Current page @@43", // op 1643 "TAD I @@44 ;Add operand to AC, Indexed Current page @@44", // op 1644 "TAD I @@45 ;Add operand to AC, Indexed Current page @@45", // op 1645 "TAD I @@46 ;Add operand to AC, Indexed Current page @@46", // op 1646 "TAD I @@47 ;Add operand to AC, Indexed Current page @@47", // op 1647 "TAD I @@50 ;Add operand to AC, Indexed Current page @@50", // op 1650 "TAD I @@51 ;Add operand to AC, Indexed Current page @@51", // op 1651 "TAD I @@52 ;Add operand to AC, Indexed Current page @@52", // op 1652 "TAD I @@53 ;Add operand to AC, Indexed Current page @@53", // op 1653 "TAD I @@54 ;Add operand to AC, Indexed Current page @@54", // op 1654 "TAD I @@55 ;Add operand to AC, Indexed Current page @@55", // op 1655 "TAD I @@56 ;Add operand to AC, Indexed Current page @@56", // op 1656 "TAD I @@57 ;Add operand to AC, Indexed Current page @@57", // op 1657 "TAD I @@60 ;Add operand to AC, Indexed Current page @@60", // op 1660 "TAD I @@61 ;Add operand to AC, Indexed Current page @@61", // op 1661 "TAD I @@62 ;Add operand to AC, Indexed Current page @@62", // op 1662 "TAD I @@63 ;Add operand to AC, Indexed Current page @@63", // op 1663 "TAD I @@64 ;Add operand to AC, Indexed Current page @@64", // op 1664 "TAD I @@65 ;Add operand to AC, Indexed Current page @@65", // op 1665 "TAD I @@66 ;Add operand to AC, Indexed Current page @@66", // op 1666 "TAD I @@67 ;Add operand to AC, Indexed Current page @@67", // op 1667 "TAD I @@70 ;Add operand to AC, Indexed Current page @@70", // op 1670 "TAD I @@71 ;Add operand to AC, Indexed Current page @@71", // op 1671 "TAD I @@72 ;Add operand to AC, Indexed Current page @@72", // op 1672 "TAD I @@73 ;Add operand to AC, Indexed Current page @@73", // op 1673 "TAD I @@74 ;Add operand to AC, Indexed Current page @@74", // op 1674 "TAD I @@75 ;Add operand to AC, Indexed Current page @@75", // op 1675 "TAD I @@76 ;Add operand to AC, Indexed Current page @@76", // op 1676 "TAD I @@77 ;Add operand to AC, Indexed Current page @@77", // op 1677 "TAD I @@00 ;Add operand to AC, Indexed Current page @@00", // op 1700 "TAD I @@01 ;Add operand to AC, Indexed Current page @@01", // op 1701 "TAD I @@02 ;Add operand to AC, Indexed Current page @@02", // op 1702 "TAD I @@03 ;Add operand to AC, Indexed Current page @@03", // op 1703 "TAD I @@04 ;Add operand to AC, Indexed Current page @@04", // op 1704 "TAD I @@05 ;Add operand to AC, Indexed Current page @@05", // op 1705 "TAD I @@06 ;Add operand to AC, Indexed Current page @@06", // op 1706 "TAD I @@07 ;Add operand to AC, Indexed Current page @@07", // op 1707 "TAD I @@10 ;Add operand to AC, Indexed Current page @@10", // op 1710 "TAD I @@11 ;Add operand to AC, Indexed Current page @@11", // op 1711 "TAD I @@12 ;Add operand to AC, Indexed Current page @@12", // op 1712 "TAD I @@13 ;Add operand to AC, Indexed Current page @@13", // op 1713 "TAD I @@14 ;Add operand to AC, Indexed Current page @@14", // op 1714 "TAD I @@15 ;Add operand to AC, Indexed Current page @@15", // op 1715 "TAD I @@16 ;Add operand to AC, Indexed Current page @@16", // op 1716 "TAD I @@17 ;Add operand to AC, Indexed Current page @@17", // op 1717 "TAD I @@20 ;Add operand to AC, Indexed Current page @@20", // op 1720 "TAD I @@21 ;Add operand to AC, Indexed Current page @@21", // op 1721 "TAD I @@22 ;Add operand to AC, Indexed Current page @@22", // op 1722 "TAD I @@23 ;Add operand to AC, Indexed Current page @@23", // op 1723 "TAD I @@24 ;Add operand to AC, Indexed Current page @@24", // op 1724 "TAD I @@25 ;Add operand to AC, Indexed Current page @@25", // op 1725 "TAD I @@26 ;Add operand to AC, Indexed Current page @@26", // op 1726 "TAD I @@27 ;Add operand to AC, Indexed Current page @@27", // op 1727 "TAD I @@30 ;Add operand to AC, Indexed Current page @@30", // op 1730 "TAD I @@31 ;Add operand to AC, Indexed Current page @@31", // op 1731 "TAD I @@32 ;Add operand to AC, Indexed Current page @@32", // op 1732 "TAD I @@33 ;Add operand to AC, Indexed Current page @@33", // op 1733 "TAD I @@34 ;Add operand to AC, Indexed Current page @@34", // op 1734 "TAD I @@35 ;Add operand to AC, Indexed Current page @@35", // op 1735 "TAD I @@36 ;Add operand to AC, Indexed Current page @@36", // op 1736 "TAD I @@37 ;Add operand to AC, Indexed Current page @@37", // op 1737 "TAD I @@40 ;Add operand to AC, Indexed Current page @@40", // op 1740 "TAD I @@41 ;Add operand to AC, Indexed Current page @@41", // op 1741 "TAD I @@42 ;Add operand to AC, Indexed Current page @@42", // op 1742 "TAD I @@43 ;Add operand to AC, Indexed Current page @@43", // op 1743 "TAD I @@44 ;Add operand to AC, Indexed Current page @@44", // op 1744 "TAD I @@45 ;Add operand to AC, Indexed Current page @@45", // op 1745 "TAD I @@46 ;Add operand to AC, Indexed Current page @@46", // op 1746 "TAD I @@47 ;Add operand to AC, Indexed Current page @@47", // op 1747 "TAD I @@50 ;Add operand to AC, Indexed Current page @@50", // op 1750 "TAD I @@51 ;Add operand to AC, Indexed Current page @@51", // op 1751 "TAD I @@52 ;Add operand to AC, Indexed Current page @@52", // op 1752 "TAD I @@53 ;Add operand to AC, Indexed Current page @@53", // op 1753 "TAD I @@54 ;Add operand to AC, Indexed Current page @@54", // op 1754 "TAD I @@55 ;Add operand to AC, Indexed Current page @@55", // op 1755 "TAD I @@56 ;Add operand to AC, Indexed Current page @@56", // op 1756 "TAD I @@57 ;Add operand to AC, Indexed Current page @@57", // op 1757 "TAD I @@60 ;Add operand to AC, Indexed Current page @@60", // op 1760 "TAD I @@61 ;Add operand to AC, Indexed Current page @@61", // op 1761 "TAD I @@62 ;Add operand to AC, Indexed Current page @@62", // op 1762 "TAD I @@63 ;Add operand to AC, Indexed Current page @@63", // op 1763 "TAD I @@64 ;Add operand to AC, Indexed Current page @@64", // op 1764 "TAD I @@65 ;Add operand to AC, Indexed Current page @@65", // op 1765 "TAD I @@66 ;Add operand to AC, Indexed Current page @@66", // op 1766 "TAD I @@67 ;Add operand to AC, Indexed Current page @@67", // op 1767 "TAD I @@70 ;Add operand to AC, Indexed Current page @@70", // op 1770 "TAD I @@71 ;Add operand to AC, Indexed Current page @@71", // op 1771 "TAD I @@72 ;Add operand to AC, Indexed Current page @@72", // op 1772 "TAD I @@73 ;Add operand to AC, Indexed Current page @@73", // op 1773 "TAD I @@74 ;Add operand to AC, Indexed Current page @@74", // op 1774 "TAD I @@75 ;Add operand to AC, Indexed Current page @@75", // op 1775 "TAD I @@76 ;Add operand to AC, Indexed Current page @@76", // op 1776 "TAD I @@77 ;Add operand to AC, Indexed Current page @@77", // op 1777 "ISZ 0000 ;Increment operand and skip if zero, ZP 0000 ", // op 2000 "ISZ 0001 ;Increment operand and skip if zero, ZP 0001", // op 2001 "ISZ 0002 ;Increment operand and skip if zero, ZP 0002", // op 2002 "ISZ 0003 ;Increment operand and skip if zero, ZP 0003", // op 2003 "ISZ 0004 ;Increment operand and skip if zero, ZP 0004", // op 2004 "ISZ 0005 ;Increment operand and skip if zero, ZP 0005", // op 2005 "ISZ 0006 ;Increment operand and skip if zero, ZP 0006", // op 2006 "ISZ 0007 ;Increment operand and skip if zero, ZP 0007", // op 2007 "ISZ 0010 ;Increment operand and skip if zero, ZP 0010", // op 2010 "ISZ 0011 ;Increment operand and skip if zero, ZP 0011", // op 2011 "ISZ 0012 ;Increment operand and skip if zero, ZP 0012", // op 2012 "ISZ 0013 ;Increment operand and skip if zero, ZP 0013", // op 2013 "ISZ 0014 ;Increment operand and skip if zero, ZP 0014", // op 2014 "ISZ 0015 ;Increment operand and skip if zero, ZP 0015", // op 2015 "ISZ 0016 ;Increment operand and skip if zero, ZP 0016", // op 2016 "ISZ 0017 ;Increment operand and skip if zero, ZP 0017", // op 2017 "ISZ 0020 ;Increment operand and skip if zero, ZP 0020", // op 2020 "ISZ 0021 ;Increment operand and skip if zero, ZP 0021", // op 2021 "ISZ 0022 ;Increment operand and skip if zero, ZP 0022", // op 2022 "ISZ 0023 ;Increment operand and skip if zero, ZP 0023", // op 2023 "ISZ 0024 ;Increment operand and skip if zero, ZP 0024", // op 2024 "ISZ 0025 ;Increment operand and skip if zero, ZP 0025", // op 2025 "ISZ 0026 ;Increment operand and skip if zero, ZP 0026", // op 2026 "ISZ 0027 ;Increment operand and skip if zero, ZP 0027", // op 2027 "ISZ 0030 ;Increment operand and skip if zero, ZP 0030", // op 2030 "ISZ 0031 ;Increment operand and skip if zero, ZP 0031", // op 2031 "ISZ 0032 ;Increment operand and skip if zero, ZP 0032", // op 2032 "ISZ 0033 ;Increment operand and skip if zero, ZP 0033", // op 2033 "ISZ 0034 ;Increment operand and skip if zero, ZP 0034", // op 2034 "ISZ 0035 ;Increment operand and skip if zero, ZP 0035", // op 2035 "ISZ 0036 ;Increment operand and skip if zero, ZP 0036", // op 2036 "ISZ 0037 ;Increment operand and skip if zero, ZP 0037", // op 2037 "ISZ 0040 ;Increment operand and skip if zero, ZP 0040", // op 2040 "ISZ 0041 ;Increment operand and skip if zero, ZP 0041", // op 2041 "ISZ 0042 ;Increment operand and skip if zero, ZP 0042", // op 2042 "ISZ 0043 ;Increment operand and skip if zero, ZP 0043", // op 2043 "ISZ 0044 ;Increment operand and skip if zero, ZP 0044", // op 2044 "ISZ 0045 ;Increment operand and skip if zero, ZP 0045", // op 2045 "ISZ 0046 ;Increment operand and skip if zero, ZP 0046", // op 2046 "ISZ 0047 ;Increment operand and skip if zero, ZP 0047", // op 2047 "ISZ 0050 ;Increment operand and skip if zero, ZP 0050", // op 2050 "ISZ 0051 ;Increment operand and skip if zero, ZP 0051", // op 2051 "ISZ 0052 ;Increment operand and skip if zero, ZP 0052", // op 2052 "ISZ 0053 ;Increment operand and skip if zero, ZP 0053", // op 2053 "ISZ 0054 ;Increment operand and skip if zero, ZP 0054", // op 2054 "ISZ 0055 ;Increment operand and skip if zero, ZP 0055", // op 2055 "ISZ 0056 ;Increment operand and skip if zero, ZP 0056", // op 2056 "ISZ 0057 ;Increment operand and skip if zero, ZP 0057", // op 2057 "ISZ 0060 ;Increment operand and skip if zero, ZP 0060", // op 2060 "ISZ 0061 ;Increment operand and skip if zero, ZP 0061", // op 2061 "ISZ 0062 ;Increment operand and skip if zero, ZP 0062", // op 2062 "ISZ 0063 ;Increment operand and skip if zero, ZP 0063", // op 2063 "ISZ 0064 ;Increment operand and skip if zero, ZP 0064", // op 2064 "ISZ 0065 ;Increment operand and skip if zero, ZP 0065", // op 2065 "ISZ 0066 ;Increment operand and skip if zero, ZP 0066", // op 2066 "ISZ 0067 ;Increment operand and skip if zero, ZP 0067", // op 2067 "ISZ 0070 ;Increment operand and skip if zero, ZP 0070", // op 2070 "ISZ 0071 ;Increment operand and skip if zero, ZP 0071", // op 2071 "ISZ 0072 ;Increment operand and skip if zero, ZP 0072", // op 2072 "ISZ 0073 ;Increment operand and skip if zero, ZP 0073", // op 2073 "ISZ 0074 ;Increment operand and skip if zero, ZP 0074", // op 2074 "ISZ 0075 ;Increment operand and skip if zero, ZP 0075", // op 2075 "ISZ 0076 ;Increment operand and skip if zero, ZP 0076", // op 2076 "ISZ 0077 ;Increment operand and skip if zero, ZP 0077", // op 2077 "ISZ 0100 ;Increment operand and skip if zero, ZP 0100", // op 2100 "ISZ 0101 ;Increment operand and skip if zero, ZP 0101", // op 2101 "ISZ 0102 ;Increment operand and skip if zero, ZP 0102", // op 2102 "ISZ 0103 ;Increment operand and skip if zero, ZP 0103", // op 2103 "ISZ 0104 ;Increment operand and skip if zero, ZP 0104", // op 2104 "ISZ 0105 ;Increment operand and skip if zero, ZP 0105", // op 2105 "ISZ 0106 ;Increment operand and skip if zero, ZP 0106", // op 2106 "ISZ 0107 ;Increment operand and skip if zero, ZP 0107", // op 2107 "ISZ 0110 ;Increment operand and skip if zero, ZP 0110", // op 2110 "ISZ 0111 ;Increment operand and skip if zero, ZP 0111", // op 2111 "ISZ 0112 ;Increment operand and skip if zero, ZP 0112", // op 2112 "ISZ 0113 ;Increment operand and skip if zero, ZP 0113", // op 2113 "ISZ 0114 ;Increment operand and skip if zero, ZP 0114", // op 2114 "ISZ 0115 ;Increment operand and skip if zero, ZP 0115", // op 2115 "ISZ 0116 ;Increment operand and skip if zero, ZP 0116", // op 2116 "ISZ 0117 ;Increment operand and skip if zero, ZP 0117", // op 2117 "ISZ 0120 ;Increment operand and skip if zero, ZP 0120", // op 2120 "ISZ 0121 ;Increment operand and skip if zero, ZP 0121", // op 2121 "ISZ 0122 ;Increment operand and skip if zero, ZP 0122", // op 2122 "ISZ 0123 ;Increment operand and skip if zero, ZP 0123", // op 2123 "ISZ 0124 ;Increment operand and skip if zero, ZP 0124", // op 2124 "ISZ 0125 ;Increment operand and skip if zero, ZP 0125", // op 2125 "ISZ 0126 ;Increment operand and skip if zero, ZP 0126", // op 2126 "ISZ 0127 ;Increment operand and skip if zero, ZP 0127", // op 2127 "ISZ 0130 ;Increment operand and skip if zero, ZP 0130", // op 2130 "ISZ 0131 ;Increment operand and skip if zero, ZP 0131", // op 2131 "ISZ 0132 ;Increment operand and skip if zero, ZP 0132", // op 2132 "ISZ 0133 ;Increment operand and skip if zero, ZP 0133", // op 2133 "ISZ 0134 ;Increment operand and skip if zero, ZP 0134", // op 2134 "ISZ 0135 ;Increment operand and skip if zero, ZP 0135", // op 2135 "ISZ 0136 ;Increment operand and skip if zero, ZP 0136", // op 2136 "ISZ 0137 ;Increment operand and skip if zero, ZP 0137", // op 2137 "ISZ 0140 ;Increment operand and skip if zero, ZP 0140", // op 2140 "ISZ 0141 ;Increment operand and skip if zero, ZP 0141", // op 2141 "ISZ 0142 ;Increment operand and skip if zero, ZP 0142", // op 2142 "ISZ 0143 ;Increment operand and skip if zero, ZP 0143", // op 2143 "ISZ 0144 ;Increment operand and skip if zero, ZP 0144", // op 2144 "ISZ 0145 ;Increment operand and skip if zero, ZP 0145", // op 2145 "ISZ 0146 ;Increment operand and skip if zero, ZP 0146", // op 2146 "ISZ 0147 ;Increment operand and skip if zero, ZP 0147", // op 2147 "ISZ 0150 ;Increment operand and skip if zero, ZP 0150", // op 2150 "ISZ 0151 ;Increment operand and skip if zero, ZP 0151", // op 2151 "ISZ 0152 ;Increment operand and skip if zero, ZP 0152", // op 2152 "ISZ 0153 ;Increment operand and skip if zero, ZP 0153", // op 2153 "ISZ 0154 ;Increment operand and skip if zero, ZP 0154", // op 2154 "ISZ 0155 ;Increment operand and skip if zero, ZP 0155", // op 2155 "ISZ 0156 ;Increment operand and skip if zero, ZP 0156", // op 2156 "ISZ 0157 ;Increment operand and skip if zero, ZP 0157", // op 2157 "ISZ 0160 ;Increment operand and skip if zero, ZP 0160", // op 2160 "ISZ 0161 ;Increment operand and skip if zero, ZP 0161", // op 2161 "ISZ 0162 ;Increment operand and skip if zero, ZP 0162", // op 2162 "ISZ 0163 ;Increment operand and skip if zero, ZP 0163", // op 2163 "ISZ 0164 ;Increment operand and skip if zero, ZP 0164", // op 2164 "ISZ 0165 ;Increment operand and skip if zero, ZP 0165", // op 2165 "ISZ 0166 ;Increment operand and skip if zero, ZP 0166", // op 2166 "ISZ 0167 ;Increment operand and skip if zero, ZP 0167", // op 2167 "ISZ 0170 ;Increment operand and skip if zero, ZP 0170", // op 2170 "ISZ 0171 ;Increment operand and skip if zero, ZP 0171", // op 2171 "ISZ 0172 ;Increment operand and skip if zero, ZP 0172", // op 2172 "ISZ 0173 ;Increment operand and skip if zero, ZP 0173", // op 2173 "ISZ 0174 ;Increment operand and skip if zero, ZP 0174", // op 2174 "ISZ 0175 ;Increment operand and skip if zero, ZP 0175", // op 2175 "ISZ 0176 ;Increment operand and skip if zero, ZP 0176", // op 2176 "ISZ 0177 ;Increment operand and skip if zero, ZP 0177", // op 2177 "ISZ @@00 ;Increment operand and skip if zero, Current page @@00", // op 2200 "ISZ @@01 ;Increment operand and skip if zero, Current page @@01", // op 2201 "ISZ @@02 ;Increment operand and skip if zero, Current page @@02", // op 2202 "ISZ @@03 ;Increment operand and skip if zero, Current page @@03", // op 2203 "ISZ @@04 ;Increment operand and skip if zero, Current page @@04", // op 2204 "ISZ @@05 ;Increment operand and skip if zero, Current page @@05", // op 2205 "ISZ @@06 ;Increment operand and skip if zero, Current page @@06", // op 2206 "ISZ @@07 ;Increment operand and skip if zero, Current page @@07", // op 2207 "ISZ @@10 ;Increment operand and skip if zero, Current page @@10", // op 2210 "ISZ @@11 ;Increment operand and skip if zero, Current page @@11", // op 2211 "ISZ @@12 ;Increment operand and skip if zero, Current page @@12", // op 2212 "ISZ @@13 ;Increment operand and skip if zero, Current page @@13", // op 2213 "ISZ @@14 ;Increment operand and skip if zero, Current page @@14", // op 2214 "ISZ @@15 ;Increment operand and skip if zero, Current page @@15", // op 2215 "ISZ @@16 ;Increment operand and skip if zero, Current page @@16", // op 2216 "ISZ @@17 ;Increment operand and skip if zero, Current page @@17", // op 2217 "ISZ @@20 ;Increment operand and skip if zero, Current page @@20", // op 2220 "ISZ @@21 ;Increment operand and skip if zero, Current page @@21", // op 2221 "ISZ @@22 ;Increment operand and skip if zero, Current page @@22", // op 2222 "ISZ @@23 ;Increment operand and skip if zero, Current page @@23", // op 2223 "ISZ @@24 ;Increment operand and skip if zero, Current page @@24", // op 2224 "ISZ @@25 ;Increment operand and skip if zero, Current page @@25", // op 2225 "ISZ @@26 ;Increment operand and skip if zero, Current page @@26", // op 2226 "ISZ @@27 ;Increment operand and skip if zero, Current page @@27", // op 2227 "ISZ @@30 ;Increment operand and skip if zero, Current page @@30", // op 2230 "ISZ @@31 ;Increment operand and skip if zero, Current page @@31", // op 2231 "ISZ @@32 ;Increment operand and skip if zero, Current page @@32", // op 2232 "ISZ @@33 ;Increment operand and skip if zero, Current page @@33", // op 2233 "ISZ @@34 ;Increment operand and skip if zero, Current page @@34", // op 2234 "ISZ @@35 ;Increment operand and skip if zero, Current page @@35", // op 2235 "ISZ @@36 ;Increment operand and skip if zero, Current page @@36", // op 2236 "ISZ @@37 ;Increment operand and skip if zero, Current page @@37", // op 2237 "ISZ @@40 ;Increment operand and skip if zero, Current page @@40", // op 2240 "ISZ @@41 ;Increment operand and skip if zero, Current page @@41", // op 2241 "ISZ @@42 ;Increment operand and skip if zero, Current page @@42", // op 2242 "ISZ @@43 ;Increment operand and skip if zero, Current page @@43", // op 2243 "ISZ @@44 ;Increment operand and skip if zero, Current page @@44", // op 2244 "ISZ @@45 ;Increment operand and skip if zero, Current page @@45", // op 2245 "ISZ @@46 ;Increment operand and skip if zero, Current page @@46", // op 2246 "ISZ @@47 ;Increment operand and skip if zero, Current page @@47", // op 2247 "ISZ @@50 ;Increment operand and skip if zero, Current page @@50", // op 2250 "ISZ @@51 ;Increment operand and skip if zero, Current page @@51", // op 2251 "ISZ @@52 ;Increment operand and skip if zero, Current page @@52", // op 2252 "ISZ @@53 ;Increment operand and skip if zero, Current page @@53", // op 2253 "ISZ @@54 ;Increment operand and skip if zero, Current page @@54", // op 2254 "ISZ @@55 ;Increment operand and skip if zero, Current page @@55", // op 2255 "ISZ @@56 ;Increment operand and skip if zero, Current page @@56", // op 2256 "ISZ @@57 ;Increment operand and skip if zero, Current page @@57", // op 2257 "ISZ @@60 ;Increment operand and skip if zero, Current page @@60", // op 2260 "ISZ @@61 ;Increment operand and skip if zero, Current page @@61", // op 2261 "ISZ @@62 ;Increment operand and skip if zero, Current page @@62", // op 2262 "ISZ @@63 ;Increment operand and skip if zero, Current page @@63", // op 2263 "ISZ @@64 ;Increment operand and skip if zero, Current page @@64", // op 2264 "ISZ @@65 ;Increment operand and skip if zero, Current page @@65", // op 2265 "ISZ @@66 ;Increment operand and skip if zero, Current page @@66", // op 2266 "ISZ @@67 ;Increment operand and skip if zero, Current page @@67", // op 2267 "ISZ @@70 ;Increment operand and skip if zero, Current page @@70", // op 2270 "ISZ @@71 ;Increment operand and skip if zero, Current page @@71", // op 2271 "ISZ @@72 ;Increment operand and skip if zero, Current page @@72", // op 2272 "ISZ @@73 ;Increment operand and skip if zero, Current page @@73", // op 2273 "ISZ @@74 ;Increment operand and skip if zero, Current page @@74", // op 2274 "ISZ @@75 ;Increment operand and skip if zero, Current page @@75", // op 2275 "ISZ @@76 ;Increment operand and skip if zero, Current page @@76", // op 2276 "ISZ @@77 ;Increment operand and skip if zero, Current page @@77", // op 2277 "ISZ @@00 ;Increment operand and skip if zero, Current page @@00", // op 2300 "ISZ @@01 ;Increment operand and skip if zero, Current page @@01", // op 2301 "ISZ @@02 ;Increment operand and skip if zero, Current page @@02", // op 2302 "ISZ @@03 ;Increment operand and skip if zero, Current page @@03", // op 2303 "ISZ @@04 ;Increment operand and skip if zero, Current page @@04", // op 2304 "ISZ @@05 ;Increment operand and skip if zero, Current page @@05", // op 2305 "ISZ @@06 ;Increment operand and skip if zero, Current page @@06", // op 2306 "ISZ @@07 ;Increment operand and skip if zero, Current page @@07", // op 2307 "ISZ @@10 ;Increment operand and skip if zero, Current page @@10", // op 2310 "ISZ @@11 ;Increment operand and skip if zero, Current page @@11", // op 2311 "ISZ @@12 ;Increment operand and skip if zero, Current page @@12", // op 2312 "ISZ @@13 ;Increment operand and skip if zero, Current page @@13", // op 2313 "ISZ @@14 ;Increment operand and skip if zero, Current page @@14", // op 2314 "ISZ @@15 ;Increment operand and skip if zero, Current page @@15", // op 2315 "ISZ @@16 ;Increment operand and skip if zero, Current page @@16", // op 2316 "ISZ @@17 ;Increment operand and skip if zero, Current page @@17", // op 2317 "ISZ @@20 ;Increment operand and skip if zero, Current page @@20", // op 2320 "ISZ @@21 ;Increment operand and skip if zero, Current page @@21", // op 2321 "ISZ @@22 ;Increment operand and skip if zero, Current page @@22", // op 2322 "ISZ @@23 ;Increment operand and skip if zero, Current page @@23", // op 2323 "ISZ @@24 ;Increment operand and skip if zero, Current page @@24", // op 2324 "ISZ @@25 ;Increment operand and skip if zero, Current page @@25", // op 2325 "ISZ @@26 ;Increment operand and skip if zero, Current page @@26", // op 2326 "ISZ @@27 ;Increment operand and skip if zero, Current page @@27", // op 2327 "ISZ @@30 ;Increment operand and skip if zero, Current page @@30", // op 2330 "ISZ @@31 ;Increment operand and skip if zero, Current page @@31", // op 2331 "ISZ @@32 ;Increment operand and skip if zero, Current page @@32", // op 2332 "ISZ @@33 ;Increment operand and skip if zero, Current page @@33", // op 2333 "ISZ @@34 ;Increment operand and skip if zero, Current page @@34", // op 2334 "ISZ @@35 ;Increment operand and skip if zero, Current page @@35", // op 2335 "ISZ @@36 ;Increment operand and skip if zero, Current page @@36", // op 2336 "ISZ @@37 ;Increment operand and skip if zero, Current page @@37", // op 2337 "ISZ @@40 ;Increment operand and skip if zero, Current page @@40", // op 2340 "ISZ @@41 ;Increment operand and skip if zero, Current page @@41", // op 2341 "ISZ @@42 ;Increment operand and skip if zero, Current page @@42", // op 2342 "ISZ @@43 ;Increment operand and skip if zero, Current page @@43", // op 2343 "ISZ @@44 ;Increment operand and skip if zero, Current page @@44", // op 2344 "ISZ @@45 ;Increment operand and skip if zero, Current page @@45", // op 2345 "ISZ @@46 ;Increment operand and skip if zero, Current page @@46", // op 2346 "ISZ @@47 ;Increment operand and skip if zero, Current page @@47", // op 2347 "ISZ @@50 ;Increment operand and skip if zero, Current page @@50", // op 2350 "ISZ @@51 ;Increment operand and skip if zero, Current page @@51", // op 2351 "ISZ @@52 ;Increment operand and skip if zero, Current page @@52", // op 2352 "ISZ @@53 ;Increment operand and skip if zero, Current page @@53", // op 2353 "ISZ @@54 ;Increment operand and skip if zero, Current page @@54", // op 2354 "ISZ @@55 ;Increment operand and skip if zero, Current page @@55", // op 2355 "ISZ @@56 ;Increment operand and skip if zero, Current page @@56", // op 2356 "ISZ @@57 ;Increment operand and skip if zero, Current page @@57", // op 2357 "ISZ @@60 ;Increment operand and skip if zero, Current page @@60", // op 2360 "ISZ @@61 ;Increment operand and skip if zero, Current page @@61", // op 2361 "ISZ @@62 ;Increment operand and skip if zero, Current page @@62", // op 2362 "ISZ @@63 ;Increment operand and skip if zero, Current page @@63", // op 2363 "ISZ @@64 ;Increment operand and skip if zero, Current page @@64", // op 2364 "ISZ @@65 ;Increment operand and skip if zero, Current page @@65", // op 2365 "ISZ @@66 ;Increment operand and skip if zero, Current page @@66", // op 2366 "ISZ @@67 ;Increment operand and skip if zero, Current page @@67", // op 2367 "ISZ @@70 ;Increment operand and skip if zero, Current page @@70", // op 2370 "ISZ @@71 ;Increment operand and skip if zero, Current page @@71", // op 2371 "ISZ @@72 ;Increment operand and skip if zero, Current page @@72", // op 2372 "ISZ @@73 ;Increment operand and skip if zero, Current page @@73", // op 2373 "ISZ @@74 ;Increment operand and skip if zero, Current page @@74", // op 2374 "ISZ @@75 ;Increment operand and skip if zero, Current page @@75", // op 2375 "ISZ @@76 ;Increment operand and skip if zero, Current page @@76", // op 2376 "ISZ @@77 ;Increment operand and skip if zero, Current page @@77", // op 2377 "ISZ I 0000 ;Increment operand and skip if zero, Indexed ZP 0000", // op 2400 "ISZ I 0001 ;Increment operand and skip if zero, Indexed ZP 0001", // op 2401 "ISZ I 0002 ;Increment operand and skip if zero, Indexed ZP 0002", // op 2402 "ISZ I 0003 ;Increment operand and skip if zero, Indexed ZP 0003", // op 2403 "ISZ I 0004 ;Increment operand and skip if zero, Indexed ZP 0004", // op 2404 "ISZ I 0005 ;Increment operand and skip if zero, Indexed ZP 0005", // op 2405 "ISZ I 0006 ;Increment operand and skip if zero, Indexed ZP 0006", // op 2406 "ISZ I 0007 ;Increment operand and skip if zero, Indexed ZP 0007", // op 2407 "ISZ I 0010 ;Increment operand and skip if zero, Indexed ZP 0010 [Auto pre-inc]", // op 2410 "ISZ I 0011 ;Increment operand and skip if zero, Indexed ZP 0011 [Auto pre-inc]", // op 2411 "ISZ I 0012 ;Increment operand and skip if zero, Indexed ZP 0012 [Auto pre-inc]", // op 2412 "ISZ I 0013 ;Increment operand and skip if zero, Indexed ZP 0013 [Auto pre-inc]", // op 2413 "ISZ I 0014 ;Increment operand and skip if zero, Indexed ZP 0014 [Auto pre-inc]", // op 2414 "ISZ I 0015 ;Increment operand and skip if zero, Indexed ZP 0015 [Auto pre-inc]", // op 2415 "ISZ I 0016 ;Increment operand and skip if zero, Indexed ZP 0016 [Auto pre-inc]", // op 2416 "ISZ I 0017 ;Increment operand and skip if zero, Indexed ZP 0017 [Auto pre-inc]", // op 2417 "ISZ I 0020 ;Increment operand and skip if zero, Indexed ZP 0020", // op 2420 "ISZ I 0021 ;Increment operand and skip if zero, Indexed ZP 0021", // op 2421 "ISZ I 0022 ;Increment operand and skip if zero, Indexed ZP 0022", // op 2422 "ISZ I 0023 ;Increment operand and skip if zero, Indexed ZP 0023", // op 2423 "ISZ I 0024 ;Increment operand and skip if zero, Indexed ZP 0024", // op 2424 "ISZ I 0025 ;Increment operand and skip if zero, Indexed ZP 0025", // op 2425 "ISZ I 0026 ;Increment operand and skip if zero, Indexed ZP 0026", // op 2426 "ISZ I 0027 ;Increment operand and skip if zero, Indexed ZP 0027", // op 2427 "ISZ I 0030 ;Increment operand and skip if zero, Indexed ZP 0030", // op 2430 "ISZ I 0031 ;Increment operand and skip if zero, Indexed ZP 0031", // op 2431 "ISZ I 0032 ;Increment operand and skip if zero, Indexed ZP 0032", // op 2432 "ISZ I 0033 ;Increment operand and skip if zero, Indexed ZP 0033", // op 2433 "ISZ I 0034 ;Increment operand and skip if zero, Indexed ZP 0034", // op 2434 "ISZ I 0035 ;Increment operand and skip if zero, Indexed ZP 0035", // op 2435 "ISZ I 0036 ;Increment operand and skip if zero, Indexed ZP 0036", // op 2436 "ISZ I 0037 ;Increment operand and skip if zero, Indexed ZP 0037", // op 2437 "ISZ I 0040 ;Increment operand and skip if zero, Indexed ZP 0040", // op 2440 "ISZ I 0041 ;Increment operand and skip if zero, Indexed ZP 0041", // op 2441 "ISZ I 0042 ;Increment operand and skip if zero, Indexed ZP 0042", // op 2442 "ISZ I 0043 ;Increment operand and skip if zero, Indexed ZP 0043", // op 2443 "ISZ I 0044 ;Increment operand and skip if zero, Indexed ZP 0044", // op 2444 "ISZ I 0045 ;Increment operand and skip if zero, Indexed ZP 0045", // op 2445 "ISZ I 0046 ;Increment operand and skip if zero, Indexed ZP 0046", // op 2446 "ISZ I 0047 ;Increment operand and skip if zero, Indexed ZP 0047", // op 2447 "ISZ I 0050 ;Increment operand and skip if zero, Indexed ZP 0050", // op 2450 "ISZ I 0051 ;Increment operand and skip if zero, Indexed ZP 0051", // op 2451 "ISZ I 0052 ;Increment operand and skip if zero, Indexed ZP 0052", // op 2452 "ISZ I 0053 ;Increment operand and skip if zero, Indexed ZP 0053", // op 2453 "ISZ I 0054 ;Increment operand and skip if zero, Indexed ZP 0054", // op 2454 "ISZ I 0055 ;Increment operand and skip if zero, Indexed ZP 0055", // op 2455 "ISZ I 0056 ;Increment operand and skip if zero, Indexed ZP 0056", // op 2456 "ISZ I 0057 ;Increment operand and skip if zero, Indexed ZP 0057", // op 2457 "ISZ I 0060 ;Increment operand and skip if zero, Indexed ZP 0060", // op 2460 "ISZ I 0061 ;Increment operand and skip if zero, Indexed ZP 0061", // op 2461 "ISZ I 0062 ;Increment operand and skip if zero, Indexed ZP 0062", // op 2462 "ISZ I 0063 ;Increment operand and skip if zero, Indexed ZP 0063", // op 2463 "ISZ I 0064 ;Increment operand and skip if zero, Indexed ZP 0064", // op 2464 "ISZ I 0065 ;Increment operand and skip if zero, Indexed ZP 0065", // op 2465 "ISZ I 0066 ;Increment operand and skip if zero, Indexed ZP 0066", // op 2466 "ISZ I 0067 ;Increment operand and skip if zero, Indexed ZP 0067", // op 2467 "ISZ I 0070 ;Increment operand and skip if zero, Indexed ZP 0070", // op 2470 "ISZ I 0071 ;Increment operand and skip if zero, Indexed ZP 0071", // op 2471 "ISZ I 0072 ;Increment operand and skip if zero, Indexed ZP 0072", // op 2472 "ISZ I 0073 ;Increment operand and skip if zero, Indexed ZP 0073", // op 2473 "ISZ I 0074 ;Increment operand and skip if zero, Indexed ZP 0074", // op 2474 "ISZ I 0075 ;Increment operand and skip if zero, Indexed ZP 0075", // op 2475 "ISZ I 0076 ;Increment operand and skip if zero, Indexed ZP 0076", // op 2476 "ISZ I 0077 ;Increment operand and skip if zero, Indexed ZP 0077", // op 2477 "ISZ I 0100 ;Increment operand and skip if zero, Indexed ZP 0100", // op 2500 "ISZ I 0101 ;Increment operand and skip if zero, Indexed ZP 0101", // op 2501 "ISZ I 0102 ;Increment operand and skip if zero, Indexed ZP 0102", // op 2502 "ISZ I 0103 ;Increment operand and skip if zero, Indexed ZP 0103", // op 2503 "ISZ I 0104 ;Increment operand and skip if zero, Indexed ZP 0104", // op 2504 "ISZ I 0105 ;Increment operand and skip if zero, Indexed ZP 0105", // op 2505 "ISZ I 0106 ;Increment operand and skip if zero, Indexed ZP 0106", // op 2506 "ISZ I 0107 ;Increment operand and skip if zero, Indexed ZP 0107", // op 2507 "ISZ I 0110 ;Increment operand and skip if zero, Indexed ZP 0110", // op 2510 "ISZ I 0111 ;Increment operand and skip if zero, Indexed ZP 0111", // op 2511 "ISZ I 0112 ;Increment operand and skip if zero, Indexed ZP 0112", // op 2512 "ISZ I 0113 ;Increment operand and skip if zero, Indexed ZP 0113", // op 2513 "ISZ I 0114 ;Increment operand and skip if zero, Indexed ZP 0114", // op 2514 "ISZ I 0115 ;Increment operand and skip if zero, Indexed ZP 0115", // op 2515 "ISZ I 0116 ;Increment operand and skip if zero, Indexed ZP 0116", // op 2516 "ISZ I 0117 ;Increment operand and skip if zero, Indexed ZP 0117", // op 2517 "ISZ I 0120 ;Increment operand and skip if zero, Indexed ZP 0120", // op 2520 "ISZ I 0121 ;Increment operand and skip if zero, Indexed ZP 0121", // op 2521 "ISZ I 0122 ;Increment operand and skip if zero, Indexed ZP 0122", // op 2522 "ISZ I 0123 ;Increment operand and skip if zero, Indexed ZP 0123", // op 2523 "ISZ I 0124 ;Increment operand and skip if zero, Indexed ZP 0124", // op 2524 "ISZ I 0125 ;Increment operand and skip if zero, Indexed ZP 0125", // op 2525 "ISZ I 0126 ;Increment operand and skip if zero, Indexed ZP 0126", // op 2526 "ISZ I 0127 ;Increment operand and skip if zero, Indexed ZP 0127", // op 2527 "ISZ I 0130 ;Increment operand and skip if zero, Indexed ZP 0130", // op 2530 "ISZ I 0131 ;Increment operand and skip if zero, Indexed ZP 0131", // op 2531 "ISZ I 0132 ;Increment operand and skip if zero, Indexed ZP 0132", // op 2532 "ISZ I 0133 ;Increment operand and skip if zero, Indexed ZP 0133", // op 2533 "ISZ I 0134 ;Increment operand and skip if zero, Indexed ZP 0134", // op 2534 "ISZ I 0135 ;Increment operand and skip if zero, Indexed ZP 0135", // op 2535 "ISZ I 0136 ;Increment operand and skip if zero, Indexed ZP 0136", // op 2536 "ISZ I 0137 ;Increment operand and skip if zero, Indexed ZP 0137", // op 2537 "ISZ I 0140 ;Increment operand and skip if zero, Indexed ZP 0140", // op 2540 "ISZ I 0141 ;Increment operand and skip if zero, Indexed ZP 0141", // op 2541 "ISZ I 0142 ;Increment operand and skip if zero, Indexed ZP 0142", // op 2542 "ISZ I 0143 ;Increment operand and skip if zero, Indexed ZP 0143", // op 2543 "ISZ I 0144 ;Increment operand and skip if zero, Indexed ZP 0144", // op 2544 "ISZ I 0145 ;Increment operand and skip if zero, Indexed ZP 0145", // op 2545 "ISZ I 0146 ;Increment operand and skip if zero, Indexed ZP 0146", // op 2546 "ISZ I 0147 ;Increment operand and skip if zero, Indexed ZP 0147", // op 2547 "ISZ I 0150 ;Increment operand and skip if zero, Indexed ZP 0150", // op 2550 "ISZ I 0151 ;Increment operand and skip if zero, Indexed ZP 0151", // op 2551 "ISZ I 0152 ;Increment operand and skip if zero, Indexed ZP 0152", // op 2552 "ISZ I 0153 ;Increment operand and skip if zero, Indexed ZP 0153", // op 2553 "ISZ I 0154 ;Increment operand and skip if zero, Indexed ZP 0154", // op 2554 "ISZ I 0155 ;Increment operand and skip if zero, Indexed ZP 0155", // op 2555 "ISZ I 0156 ;Increment operand and skip if zero, Indexed ZP 0156", // op 2556 "ISZ I 0157 ;Increment operand and skip if zero, Indexed ZP 0157", // op 2557 "ISZ I 0160 ;Increment operand and skip if zero, Indexed ZP 0160", // op 2560 "ISZ I 0161 ;Increment operand and skip if zero, Indexed ZP 0161", // op 2561 "ISZ I 0162 ;Increment operand and skip if zero, Indexed ZP 0162", // op 2562 "ISZ I 0163 ;Increment operand and skip if zero, Indexed ZP 0163", // op 2563 "ISZ I 0164 ;Increment operand and skip if zero, Indexed ZP 0164", // op 2564 "ISZ I 0165 ;Increment operand and skip if zero, Indexed ZP 0165", // op 2565 "ISZ I 0166 ;Increment operand and skip if zero, Indexed ZP 0166", // op 2566 "ISZ I 0167 ;Increment operand and skip if zero, Indexed ZP 0167", // op 2567 "ISZ I 0170 ;Increment operand and skip if zero, Indexed ZP 0170", // op 2570 "ISZ I 0171 ;Increment operand and skip if zero, Indexed ZP 0171", // op 2571 "ISZ I 0172 ;Increment operand and skip if zero, Indexed ZP 0172", // op 2572 "ISZ I 0173 ;Increment operand and skip if zero, Indexed ZP 0173", // op 2573 "ISZ I 0174 ;Increment operand and skip if zero, Indexed ZP 0174", // op 2574 "ISZ I 0175 ;Increment operand and skip if zero, Indexed ZP 0175", // op 2575 "ISZ I 0176 ;Increment operand and skip if zero, Indexed ZP 0176", // op 2576 "ISZ I 0177 ;Increment operand and skip if zero, Indexed ZP 0177", // op 2577 "ISZ I @@00 ;Increment operand and skip if zero, Indexed Current page @@00", // op 2600 "ISZ I @@01 ;Increment operand and skip if zero, Indexed Current page @@01", // op 2601 "ISZ I @@02 ;Increment operand and skip if zero, Indexed Current page @@02", // op 2602 "ISZ I @@03 ;Increment operand and skip if zero, Indexed Current page @@03", // op 2603 "ISZ I @@04 ;Increment operand and skip if zero, Indexed Current page @@04", // op 2604 "ISZ I @@05 ;Increment operand and skip if zero, Indexed Current page @@05", // op 2605 "ISZ I @@06 ;Increment operand and skip if zero, Indexed Current page @@06", // op 2606 "ISZ I @@07 ;Increment operand and skip if zero, Indexed Current page @@07", // op 2607 "ISZ I @@10 ;Increment operand and skip if zero, Indexed Current page @@10", // op 2610 "ISZ I @@11 ;Increment operand and skip if zero, Indexed Current page @@11", // op 2611 "ISZ I @@12 ;Increment operand and skip if zero, Indexed Current page @@12", // op 2612 "ISZ I @@13 ;Increment operand and skip if zero, Indexed Current page @@13", // op 2613 "ISZ I @@14 ;Increment operand and skip if zero, Indexed Current page @@14", // op 2614 "ISZ I @@15 ;Increment operand and skip if zero, Indexed Current page @@15", // op 2615 "ISZ I @@16 ;Increment operand and skip if zero, Indexed Current page @@16", // op 2616 "ISZ I @@17 ;Increment operand and skip if zero, Indexed Current page @@17", // op 2617 "ISZ I @@20 ;Increment operand and skip if zero, Indexed Current page @@20", // op 2620 "ISZ I @@21 ;Increment operand and skip if zero, Indexed Current page @@21", // op 2621 "ISZ I @@22 ;Increment operand and skip if zero, Indexed Current page @@22", // op 2622 "ISZ I @@23 ;Increment operand and skip if zero, Indexed Current page @@23", // op 2623 "ISZ I @@24 ;Increment operand and skip if zero, Indexed Current page @@24", // op 2624 "ISZ I @@25 ;Increment operand and skip if zero, Indexed Current page @@25", // op 2625 "ISZ I @@26 ;Increment operand and skip if zero, Indexed Current page @@26", // op 2626 "ISZ I @@27 ;Increment operand and skip if zero, Indexed Current page @@27", // op 2627 "ISZ I @@30 ;Increment operand and skip if zero, Indexed Current page @@30", // op 2630 "ISZ I @@31 ;Increment operand and skip if zero, Indexed Current page @@31", // op 2631 "ISZ I @@32 ;Increment operand and skip if zero, Indexed Current page @@32", // op 2632 "ISZ I @@33 ;Increment operand and skip if zero, Indexed Current page @@33", // op 2633 "ISZ I @@34 ;Increment operand and skip if zero, Indexed Current page @@34", // op 2634 "ISZ I @@35 ;Increment operand and skip if zero, Indexed Current page @@35", // op 2635 "ISZ I @@36 ;Increment operand and skip if zero, Indexed Current page @@36", // op 2636 "ISZ I @@37 ;Increment operand and skip if zero, Indexed Current page @@37", // op 2637 "ISZ I @@40 ;Increment operand and skip if zero, Indexed Current page @@40", // op 2640 "ISZ I @@41 ;Increment operand and skip if zero, Indexed Current page @@41", // op 2641 "ISZ I @@42 ;Increment operand and skip if zero, Indexed Current page @@42", // op 2642 "ISZ I @@43 ;Increment operand and skip if zero, Indexed Current page @@43", // op 2643 "ISZ I @@44 ;Increment operand and skip if zero, Indexed Current page @@44", // op 2644 "ISZ I @@45 ;Increment operand and skip if zero, Indexed Current page @@45", // op 2645 "ISZ I @@46 ;Increment operand and skip if zero, Indexed Current page @@46", // op 2646 "ISZ I @@47 ;Increment operand and skip if zero, Indexed Current page @@47", // op 2647 "ISZ I @@50 ;Increment operand and skip if zero, Indexed Current page @@50", // op 2650 "ISZ I @@51 ;Increment operand and skip if zero, Indexed Current page @@51", // op 2651 "ISZ I @@52 ;Increment operand and skip if zero, Indexed Current page @@52", // op 2652 "ISZ I @@53 ;Increment operand and skip if zero, Indexed Current page @@53", // op 2653 "ISZ I @@54 ;Increment operand and skip if zero, Indexed Current page @@54", // op 2654 "ISZ I @@55 ;Increment operand and skip if zero, Indexed Current page @@55", // op 2655 "ISZ I @@56 ;Increment operand and skip if zero, Indexed Current page @@56", // op 2656 "ISZ I @@57 ;Increment operand and skip if zero, Indexed Current page @@57", // op 2657 "ISZ I @@60 ;Increment operand and skip if zero, Indexed Current page @@60", // op 2660 "ISZ I @@61 ;Increment operand and skip if zero, Indexed Current page @@61", // op 2661 "ISZ I @@62 ;Increment operand and skip if zero, Indexed Current page @@62", // op 2662 "ISZ I @@63 ;Increment operand and skip if zero, Indexed Current page @@63", // op 2663 "ISZ I @@64 ;Increment operand and skip if zero, Indexed Current page @@64", // op 2664 "ISZ I @@65 ;Increment operand and skip if zero, Indexed Current page @@65", // op 2665 "ISZ I @@66 ;Increment operand and skip if zero, Indexed Current page @@66", // op 2666 "ISZ I @@67 ;Increment operand and skip if zero, Indexed Current page @@67", // op 2667 "ISZ I @@70 ;Increment operand and skip if zero, Indexed Current page @@70", // op 2670 "ISZ I @@71 ;Increment operand and skip if zero, Indexed Current page @@71", // op 2671 "ISZ I @@72 ;Increment operand and skip if zero, Indexed Current page @@72", // op 2672 "ISZ I @@73 ;Increment operand and skip if zero, Indexed Current page @@73", // op 2673 "ISZ I @@74 ;Increment operand and skip if zero, Indexed Current page @@74", // op 2674 "ISZ I @@75 ;Increment operand and skip if zero, Indexed Current page @@75", // op 2675 "ISZ I @@76 ;Increment operand and skip if zero, Indexed Current page @@76", // op 2676 "ISZ I @@77 ;Increment operand and skip if zero, Indexed Current page @@77", // op 2677 "ISZ I @@00 ;Increment operand and skip if zero, Indexed Current page @@00", // op 2700 "ISZ I @@01 ;Increment operand and skip if zero, Indexed Current page @@01", // op 2701 "ISZ I @@02 ;Increment operand and skip if zero, Indexed Current page @@02", // op 2702 "ISZ I @@03 ;Increment operand and skip if zero, Indexed Current page @@03", // op 2703 "ISZ I @@04 ;Increment operand and skip if zero, Indexed Current page @@04", // op 2704 "ISZ I @@05 ;Increment operand and skip if zero, Indexed Current page @@05", // op 2705 "ISZ I @@06 ;Increment operand and skip if zero, Indexed Current page @@06", // op 2706 "ISZ I @@07 ;Increment operand and skip if zero, Indexed Current page @@07", // op 2707 "ISZ I @@10 ;Increment operand and skip if zero, Indexed Current page @@10", // op 2710 "ISZ I @@11 ;Increment operand and skip if zero, Indexed Current page @@11", // op 2711 "ISZ I @@12 ;Increment operand and skip if zero, Indexed Current page @@12", // op 2712 "ISZ I @@13 ;Increment operand and skip if zero, Indexed Current page @@13", // op 2713 "ISZ I @@14 ;Increment operand and skip if zero, Indexed Current page @@14", // op 2714 "ISZ I @@15 ;Increment operand and skip if zero, Indexed Current page @@15", // op 2715 "ISZ I @@16 ;Increment operand and skip if zero, Indexed Current page @@16", // op 2716 "ISZ I @@17 ;Increment operand and skip if zero, Indexed Current page @@17", // op 2717 "ISZ I @@20 ;Increment operand and skip if zero, Indexed Current page @@20", // op 2720 "ISZ I @@21 ;Increment operand and skip if zero, Indexed Current page @@21", // op 2721 "ISZ I @@22 ;Increment operand and skip if zero, Indexed Current page @@22", // op 2722 "ISZ I @@23 ;Increment operand and skip if zero, Indexed Current page @@23", // op 2723 "ISZ I @@24 ;Increment operand and skip if zero, Indexed Current page @@24", // op 2724 "ISZ I @@25 ;Increment operand and skip if zero, Indexed Current page @@25", // op 2725 "ISZ I @@26 ;Increment operand and skip if zero, Indexed Current page @@26", // op 2726 "ISZ I @@27 ;Increment operand and skip if zero, Indexed Current page @@27", // op 2727 "ISZ I @@30 ;Increment operand and skip if zero, Indexed Current page @@30", // op 2730 "ISZ I @@31 ;Increment operand and skip if zero, Indexed Current page @@31", // op 2731 "ISZ I @@32 ;Increment operand and skip if zero, Indexed Current page @@32", // op 2732 "ISZ I @@33 ;Increment operand and skip if zero, Indexed Current page @@33", // op 2733 "ISZ I @@34 ;Increment operand and skip if zero, Indexed Current page @@34", // op 2734 "ISZ I @@35 ;Increment operand and skip if zero, Indexed Current page @@35", // op 2735 "ISZ I @@36 ;Increment operand and skip if zero, Indexed Current page @@36", // op 2736 "ISZ I @@37 ;Increment operand and skip if zero, Indexed Current page @@37", // op 2737 "ISZ I @@40 ;Increment operand and skip if zero, Indexed Current page @@40", // op 2740 "ISZ I @@41 ;Increment operand and skip if zero, Indexed Current page @@41", // op 2741 "ISZ I @@42 ;Increment operand and skip if zero, Indexed Current page @@42", // op 2742 "ISZ I @@43 ;Increment operand and skip if zero, Indexed Current page @@43", // op 2743 "ISZ I @@44 ;Increment operand and skip if zero, Indexed Current page @@44", // op 2744 "ISZ I @@45 ;Increment operand and skip if zero, Indexed Current page @@45", // op 2745 "ISZ I @@46 ;Increment operand and skip if zero, Indexed Current page @@46", // op 2746 "ISZ I @@47 ;Increment operand and skip if zero, Indexed Current page @@47", // op 2747 "ISZ I @@50 ;Increment operand and skip if zero, Indexed Current page @@50", // op 2750 "ISZ I @@51 ;Increment operand and skip if zero, Indexed Current page @@51", // op 2751 "ISZ I @@52 ;Increment operand and skip if zero, Indexed Current page @@52", // op 2752 "ISZ I @@53 ;Increment operand and skip if zero, Indexed Current page @@53", // op 2753 "ISZ I @@54 ;Increment operand and skip if zero, Indexed Current page @@54", // op 2754 "ISZ I @@55 ;Increment operand and skip if zero, Indexed Current page @@55", // op 2755 "ISZ I @@56 ;Increment operand and skip if zero, Indexed Current page @@56", // op 2756 "ISZ I @@57 ;Increment operand and skip if zero, Indexed Current page @@57", // op 2757 "ISZ I @@60 ;Increment operand and skip if zero, Indexed Current page @@60", // op 2760 "ISZ I @@61 ;Increment operand and skip if zero, Indexed Current page @@61", // op 2761 "ISZ I @@62 ;Increment operand and skip if zero, Indexed Current page @@62", // op 2762 "ISZ I @@63 ;Increment operand and skip if zero, Indexed Current page @@63", // op 2763 "ISZ I @@64 ;Increment operand and skip if zero, Indexed Current page @@64", // op 2764 "ISZ I @@65 ;Increment operand and skip if zero, Indexed Current page @@65", // op 2765 "ISZ I @@66 ;Increment operand and skip if zero, Indexed Current page @@66", // op 2766 "ISZ I @@67 ;Increment operand and skip if zero, Indexed Current page @@67", // op 2767 "ISZ I @@70 ;Increment operand and skip if zero, Indexed Current page @@70", // op 2770 "ISZ I @@71 ;Increment operand and skip if zero, Indexed Current page @@71", // op 2771 "ISZ I @@72 ;Increment operand and skip if zero, Indexed Current page @@72", // op 2772 "ISZ I @@73 ;Increment operand and skip if zero, Indexed Current page @@73", // op 2773 "ISZ I @@74 ;Increment operand and skip if zero, Indexed Current page @@74", // op 2774 "ISZ I @@75 ;Increment operand and skip if zero, Indexed Current page @@75", // op 2775 "ISZ I @@76 ;Increment operand and skip if zero, Indexed Current page @@76", // op 2776 "ISZ I @@77 ;Increment operand and skip if zero, Indexed Current page @@77", // op 2777 "DCA 0000 ;Deposit AC to memory then clear AC, ZP 0000 ", // op 3000 "DCA 0001 ;Deposit AC to memory then clear AC, ZP 0001", // op 3001 "DCA 0002 ;Deposit AC to memory then clear AC, ZP 0002", // op 3002 "DCA 0003 ;Deposit AC to memory then clear AC, ZP 0003", // op 3003 "DCA 0004 ;Deposit AC to memory then clear AC, ZP 0004", // op 3004 "DCA 0005 ;Deposit AC to memory then clear AC, ZP 0005", // op 3005 "DCA 0006 ;Deposit AC to memory then clear AC, ZP 0006", // op 3006 "DCA 0007 ;Deposit AC to memory then clear AC, ZP 0007", // op 3007 "DCA 0010 ;Deposit AC to memory then clear AC, ZP 0010", // op 3010 "DCA 0011 ;Deposit AC to memory then clear AC, ZP 0011", // op 3011 "DCA 0012 ;Deposit AC to memory then clear AC, ZP 0012", // op 3012 "DCA 0013 ;Deposit AC to memory then clear AC, ZP 0013", // op 3013 "DCA 0014 ;Deposit AC to memory then clear AC, ZP 0014", // op 3014 "DCA 0015 ;Deposit AC to memory then clear AC, ZP 0015", // op 3015 "DCA 0016 ;Deposit AC to memory then clear AC, ZP 0016", // op 3016 "DCA 0017 ;Deposit AC to memory then clear AC, ZP 0017", // op 3017 "DCA 0020 ;Deposit AC to memory then clear AC, ZP 0020", // op 3020 "DCA 0021 ;Deposit AC to memory then clear AC, ZP 0021", // op 3021 "DCA 0022 ;Deposit AC to memory then clear AC, ZP 0022", // op 3022 "DCA 0023 ;Deposit AC to memory then clear AC, ZP 0023", // op 3023 "DCA 0024 ;Deposit AC to memory then clear AC, ZP 0024", // op 3024 "DCA 0025 ;Deposit AC to memory then clear AC, ZP 0025", // op 3025 "DCA 0026 ;Deposit AC to memory then clear AC, ZP 0026", // op 3026 "DCA 0027 ;Deposit AC to memory then clear AC, ZP 0027", // op 3027 "DCA 0030 ;Deposit AC to memory then clear AC, ZP 0030", // op 3030 "DCA 0031 ;Deposit AC to memory then clear AC, ZP 0031", // op 3031 "DCA 0032 ;Deposit AC to memory then clear AC, ZP 0032", // op 3032 "DCA 0033 ;Deposit AC to memory then clear AC, ZP 0033", // op 3033 "DCA 0034 ;Deposit AC to memory then clear AC, ZP 0034", // op 3034 "DCA 0035 ;Deposit AC to memory then clear AC, ZP 0035", // op 3035 "DCA 0036 ;Deposit AC to memory then clear AC, ZP 0036", // op 3036 "DCA 0037 ;Deposit AC to memory then clear AC, ZP 0037", // op 3037 "DCA 0040 ;Deposit AC to memory then clear AC, ZP 0040", // op 3040 "DCA 0041 ;Deposit AC to memory then clear AC, ZP 0041", // op 3041 "DCA 0042 ;Deposit AC to memory then clear AC, ZP 0042", // op 3042 "DCA 0043 ;Deposit AC to memory then clear AC, ZP 0043", // op 3043 "DCA 0044 ;Deposit AC to memory then clear AC, ZP 0044", // op 3044 "DCA 0045 ;Deposit AC to memory then clear AC, ZP 0045", // op 3045 "DCA 0046 ;Deposit AC to memory then clear AC, ZP 0046", // op 3046 "DCA 0047 ;Deposit AC to memory then clear AC, ZP 0047", // op 3047 "DCA 0050 ;Deposit AC to memory then clear AC, ZP 0050", // op 3050 "DCA 0051 ;Deposit AC to memory then clear AC, ZP 0051", // op 3051 "DCA 0052 ;Deposit AC to memory then clear AC, ZP 0052", // op 3052 "DCA 0053 ;Deposit AC to memory then clear AC, ZP 0053", // op 3053 "DCA 0054 ;Deposit AC to memory then clear AC, ZP 0054", // op 3054 "DCA 0055 ;Deposit AC to memory then clear AC, ZP 0055", // op 3055 "DCA 0056 ;Deposit AC to memory then clear AC, ZP 0056", // op 3056 "DCA 0057 ;Deposit AC to memory then clear AC, ZP 0057", // op 3057 "DCA 0060 ;Deposit AC to memory then clear AC, ZP 0060", // op 3060 "DCA 0061 ;Deposit AC to memory then clear AC, ZP 0061", // op 3061 "DCA 0062 ;Deposit AC to memory then clear AC, ZP 0062", // op 3062 "DCA 0063 ;Deposit AC to memory then clear AC, ZP 0063", // op 3063 "DCA 0064 ;Deposit AC to memory then clear AC, ZP 0064", // op 3064 "DCA 0065 ;Deposit AC to memory then clear AC, ZP 0065", // op 3065 "DCA 0066 ;Deposit AC to memory then clear AC, ZP 0066", // op 3066 "DCA 0067 ;Deposit AC to memory then clear AC, ZP 0067", // op 3067 "DCA 0070 ;Deposit AC to memory then clear AC, ZP 0070", // op 3070 "DCA 0071 ;Deposit AC to memory then clear AC, ZP 0071", // op 3071 "DCA 0072 ;Deposit AC to memory then clear AC, ZP 0072", // op 3072 "DCA 0073 ;Deposit AC to memory then clear AC, ZP 0073", // op 3073 "DCA 0074 ;Deposit AC to memory then clear AC, ZP 0074", // op 3074 "DCA 0075 ;Deposit AC to memory then clear AC, ZP 0075", // op 3075 "DCA 0076 ;Deposit AC to memory then clear AC, ZP 0076", // op 3076 "DCA 0077 ;Deposit AC to memory then clear AC, ZP 0077", // op 3077 "DCA 0100 ;Deposit AC to memory then clear AC, ZP 0100", // op 3100 "DCA 0101 ;Deposit AC to memory then clear AC, ZP 0101", // op 3101 "DCA 0102 ;Deposit AC to memory then clear AC, ZP 0102", // op 3102 "DCA 0103 ;Deposit AC to memory then clear AC, ZP 0103", // op 3103 "DCA 0104 ;Deposit AC to memory then clear AC, ZP 0104", // op 3104 "DCA 0105 ;Deposit AC to memory then clear AC, ZP 0105", // op 3105 "DCA 0106 ;Deposit AC to memory then clear AC, ZP 0106", // op 3106 "DCA 0107 ;Deposit AC to memory then clear AC, ZP 0107", // op 3107 "DCA 0110 ;Deposit AC to memory then clear AC, ZP 0110", // op 3110 "DCA 0111 ;Deposit AC to memory then clear AC, ZP 0111", // op 3111 "DCA 0112 ;Deposit AC to memory then clear AC, ZP 0112", // op 3112 "DCA 0113 ;Deposit AC to memory then clear AC, ZP 0113", // op 3113 "DCA 0114 ;Deposit AC to memory then clear AC, ZP 0114", // op 3114 "DCA 0115 ;Deposit AC to memory then clear AC, ZP 0115", // op 3115 "DCA 0116 ;Deposit AC to memory then clear AC, ZP 0116", // op 3116 "DCA 0117 ;Deposit AC to memory then clear AC, ZP 0117", // op 3117 "DCA 0120 ;Deposit AC to memory then clear AC, ZP 0120", // op 3120 "DCA 0121 ;Deposit AC to memory then clear AC, ZP 0121", // op 3121 "DCA 0122 ;Deposit AC to memory then clear AC, ZP 0122", // op 3122 "DCA 0123 ;Deposit AC to memory then clear AC, ZP 0123", // op 3123 "DCA 0124 ;Deposit AC to memory then clear AC, ZP 0124", // op 3124 "DCA 0125 ;Deposit AC to memory then clear AC, ZP 0125", // op 3125 "DCA 0126 ;Deposit AC to memory then clear AC, ZP 0126", // op 3126 "DCA 0127 ;Deposit AC to memory then clear AC, ZP 0127", // op 3127 "DCA 0130 ;Deposit AC to memory then clear AC, ZP 0130", // op 3130 "DCA 0131 ;Deposit AC to memory then clear AC, ZP 0131", // op 3131 "DCA 0132 ;Deposit AC to memory then clear AC, ZP 0132", // op 3132 "DCA 0133 ;Deposit AC to memory then clear AC, ZP 0133", // op 3133 "DCA 0134 ;Deposit AC to memory then clear AC, ZP 0134", // op 3134 "DCA 0135 ;Deposit AC to memory then clear AC, ZP 0135", // op 3135 "DCA 0136 ;Deposit AC to memory then clear AC, ZP 0136", // op 3136 "DCA 0137 ;Deposit AC to memory then clear AC, ZP 0137", // op 3137 "DCA 0140 ;Deposit AC to memory then clear AC, ZP 0140", // op 3140 "DCA 0141 ;Deposit AC to memory then clear AC, ZP 0141", // op 3141 "DCA 0142 ;Deposit AC to memory then clear AC, ZP 0142", // op 3142 "DCA 0143 ;Deposit AC to memory then clear AC, ZP 0143", // op 3143 "DCA 0144 ;Deposit AC to memory then clear AC, ZP 0144", // op 3144 "DCA 0145 ;Deposit AC to memory then clear AC, ZP 0145", // op 3145 "DCA 0146 ;Deposit AC to memory then clear AC, ZP 0146", // op 3146 "DCA 0147 ;Deposit AC to memory then clear AC, ZP 0147", // op 3147 "DCA 0150 ;Deposit AC to memory then clear AC, ZP 0150", // op 3150 "DCA 0151 ;Deposit AC to memory then clear AC, ZP 0151", // op 3151 "DCA 0152 ;Deposit AC to memory then clear AC, ZP 0152", // op 3152 "DCA 0153 ;Deposit AC to memory then clear AC, ZP 0153", // op 3153 "DCA 0154 ;Deposit AC to memory then clear AC, ZP 0154", // op 3154 "DCA 0155 ;Deposit AC to memory then clear AC, ZP 0155", // op 3155 "DCA 0156 ;Deposit AC to memory then clear AC, ZP 0156", // op 3156 "DCA 0157 ;Deposit AC to memory then clear AC, ZP 0157", // op 3157 "DCA 0160 ;Deposit AC to memory then clear AC, ZP 0160", // op 3160 "DCA 0161 ;Deposit AC to memory then clear AC, ZP 0161", // op 3161 "DCA 0162 ;Deposit AC to memory then clear AC, ZP 0162", // op 3162 "DCA 0163 ;Deposit AC to memory then clear AC, ZP 0163", // op 3163 "DCA 0164 ;Deposit AC to memory then clear AC, ZP 0164", // op 3164 "DCA 0165 ;Deposit AC to memory then clear AC, ZP 0165", // op 3165 "DCA 0166 ;Deposit AC to memory then clear AC, ZP 0166", // op 3166 "DCA 0167 ;Deposit AC to memory then clear AC, ZP 0167", // op 3167 "DCA 0170 ;Deposit AC to memory then clear AC, ZP 0170", // op 3170 "DCA 0171 ;Deposit AC to memory then clear AC, ZP 0171", // op 3171 "DCA 0172 ;Deposit AC to memory then clear AC, ZP 0172", // op 3172 "DCA 0173 ;Deposit AC to memory then clear AC, ZP 0173", // op 3173 "DCA 0174 ;Deposit AC to memory then clear AC, ZP 0174", // op 3174 "DCA 0175 ;Deposit AC to memory then clear AC, ZP 0175", // op 3175 "DCA 0176 ;Deposit AC to memory then clear AC, ZP 0176", // op 3176 "DCA 0177 ;Deposit AC to memory then clear AC, ZP 0177", // op 3177 "DCA @@00 ;Deposit AC to memory then clear AC, Current page @@00", // op 3200 "DCA @@01 ;Deposit AC to memory then clear AC, Current page @@01", // op 3201 "DCA @@02 ;Deposit AC to memory then clear AC, Current page @@02", // op 3202 "DCA @@03 ;Deposit AC to memory then clear AC, Current page @@03", // op 3203 "DCA @@04 ;Deposit AC to memory then clear AC, Current page @@04", // op 3204 "DCA @@05 ;Deposit AC to memory then clear AC, Current page @@05", // op 3205 "DCA @@06 ;Deposit AC to memory then clear AC, Current page @@06", // op 3206 "DCA @@07 ;Deposit AC to memory then clear AC, Current page @@07", // op 3207 "DCA @@10 ;Deposit AC to memory then clear AC, Current page @@10", // op 3210 "DCA @@11 ;Deposit AC to memory then clear AC, Current page @@11", // op 3211 "DCA @@12 ;Deposit AC to memory then clear AC, Current page @@12", // op 3212 "DCA @@13 ;Deposit AC to memory then clear AC, Current page @@13", // op 3213 "DCA @@14 ;Deposit AC to memory then clear AC, Current page @@14", // op 3214 "DCA @@15 ;Deposit AC to memory then clear AC, Current page @@15", // op 3215 "DCA @@16 ;Deposit AC to memory then clear AC, Current page @@16", // op 3216 "DCA @@17 ;Deposit AC to memory then clear AC, Current page @@17", // op 3217 "DCA @@20 ;Deposit AC to memory then clear AC, Current page @@20", // op 3220 "DCA @@21 ;Deposit AC to memory then clear AC, Current page @@21", // op 3221 "DCA @@22 ;Deposit AC to memory then clear AC, Current page @@22", // op 3222 "DCA @@23 ;Deposit AC to memory then clear AC, Current page @@23", // op 3223 "DCA @@24 ;Deposit AC to memory then clear AC, Current page @@24", // op 3224 "DCA @@25 ;Deposit AC to memory then clear AC, Current page @@25", // op 3225 "DCA @@26 ;Deposit AC to memory then clear AC, Current page @@26", // op 3226 "DCA @@27 ;Deposit AC to memory then clear AC, Current page @@27", // op 3227 "DCA @@30 ;Deposit AC to memory then clear AC, Current page @@30", // op 3230 "DCA @@31 ;Deposit AC to memory then clear AC, Current page @@31", // op 3231 "DCA @@32 ;Deposit AC to memory then clear AC, Current page @@32", // op 3232 "DCA @@33 ;Deposit AC to memory then clear AC, Current page @@33", // op 3233 "DCA @@34 ;Deposit AC to memory then clear AC, Current page @@34", // op 3234 "DCA @@35 ;Deposit AC to memory then clear AC, Current page @@35", // op 3235 "DCA @@36 ;Deposit AC to memory then clear AC, Current page @@36", // op 3236 "DCA @@37 ;Deposit AC to memory then clear AC, Current page @@37", // op 3237 "DCA @@40 ;Deposit AC to memory then clear AC, Current page @@40", // op 3240 "DCA @@41 ;Deposit AC to memory then clear AC, Current page @@41", // op 3241 "DCA @@42 ;Deposit AC to memory then clear AC, Current page @@42", // op 3242 "DCA @@43 ;Deposit AC to memory then clear AC, Current page @@43", // op 3243 "DCA @@44 ;Deposit AC to memory then clear AC, Current page @@44", // op 3244 "DCA @@45 ;Deposit AC to memory then clear AC, Current page @@45", // op 3245 "DCA @@46 ;Deposit AC to memory then clear AC, Current page @@46", // op 3246 "DCA @@47 ;Deposit AC to memory then clear AC, Current page @@47", // op 3247 "DCA @@50 ;Deposit AC to memory then clear AC, Current page @@50", // op 3250 "DCA @@51 ;Deposit AC to memory then clear AC, Current page @@51", // op 3251 "DCA @@52 ;Deposit AC to memory then clear AC, Current page @@52", // op 3252 "DCA @@53 ;Deposit AC to memory then clear AC, Current page @@53", // op 3253 "DCA @@54 ;Deposit AC to memory then clear AC, Current page @@54", // op 3254 "DCA @@55 ;Deposit AC to memory then clear AC, Current page @@55", // op 3255 "DCA @@56 ;Deposit AC to memory then clear AC, Current page @@56", // op 3256 "DCA @@57 ;Deposit AC to memory then clear AC, Current page @@57", // op 3257 "DCA @@60 ;Deposit AC to memory then clear AC, Current page @@60", // op 3260 "DCA @@61 ;Deposit AC to memory then clear AC, Current page @@61", // op 3261 "DCA @@62 ;Deposit AC to memory then clear AC, Current page @@62", // op 3262 "DCA @@63 ;Deposit AC to memory then clear AC, Current page @@63", // op 3263 "DCA @@64 ;Deposit AC to memory then clear AC, Current page @@64", // op 3264 "DCA @@65 ;Deposit AC to memory then clear AC, Current page @@65", // op 3265 "DCA @@66 ;Deposit AC to memory then clear AC, Current page @@66", // op 3266 "DCA @@67 ;Deposit AC to memory then clear AC, Current page @@67", // op 3267 "DCA @@70 ;Deposit AC to memory then clear AC, Current page @@70", // op 3270 "DCA @@71 ;Deposit AC to memory then clear AC, Current page @@71", // op 3271 "DCA @@72 ;Deposit AC to memory then clear AC, Current page @@72", // op 3272 "DCA @@73 ;Deposit AC to memory then clear AC, Current page @@73", // op 3273 "DCA @@74 ;Deposit AC to memory then clear AC, Current page @@74", // op 3274 "DCA @@75 ;Deposit AC to memory then clear AC, Current page @@75", // op 3275 "DCA @@76 ;Deposit AC to memory then clear AC, Current page @@76", // op 3276 "DCA @@77 ;Deposit AC to memory then clear AC, Current page @@77", // op 3277 "DCA @@00 ;Deposit AC to memory then clear AC, Current page @@00", // op 3300 "DCA @@01 ;Deposit AC to memory then clear AC, Current page @@01", // op 3301 "DCA @@02 ;Deposit AC to memory then clear AC, Current page @@02", // op 3302 "DCA @@03 ;Deposit AC to memory then clear AC, Current page @@03", // op 3303 "DCA @@04 ;Deposit AC to memory then clear AC, Current page @@04", // op 3304 "DCA @@05 ;Deposit AC to memory then clear AC, Current page @@05", // op 3305 "DCA @@06 ;Deposit AC to memory then clear AC, Current page @@06", // op 3306 "DCA @@07 ;Deposit AC to memory then clear AC, Current page @@07", // op 3307 "DCA @@10 ;Deposit AC to memory then clear AC, Current page @@10", // op 3310 "DCA @@11 ;Deposit AC to memory then clear AC, Current page @@11", // op 3311 "DCA @@12 ;Deposit AC to memory then clear AC, Current page @@12", // op 3312 "DCA @@13 ;Deposit AC to memory then clear AC, Current page @@13", // op 3313 "DCA @@14 ;Deposit AC to memory then clear AC, Current page @@14", // op 3314 "DCA @@15 ;Deposit AC to memory then clear AC, Current page @@15", // op 3315 "DCA @@16 ;Deposit AC to memory then clear AC, Current page @@16", // op 3316 "DCA @@17 ;Deposit AC to memory then clear AC, Current page @@17", // op 3317 "DCA @@20 ;Deposit AC to memory then clear AC, Current page @@20", // op 3320 "DCA @@21 ;Deposit AC to memory then clear AC, Current page @@21", // op 3321 "DCA @@22 ;Deposit AC to memory then clear AC, Current page @@22", // op 3322 "DCA @@23 ;Deposit AC to memory then clear AC, Current page @@23", // op 3323 "DCA @@24 ;Deposit AC to memory then clear AC, Current page @@24", // op 3324 "DCA @@25 ;Deposit AC to memory then clear AC, Current page @@25", // op 3325 "DCA @@26 ;Deposit AC to memory then clear AC, Current page @@26", // op 3326 "DCA @@27 ;Deposit AC to memory then clear AC, Current page @@27", // op 3327 "DCA @@30 ;Deposit AC to memory then clear AC, Current page @@30", // op 3330 "DCA @@31 ;Deposit AC to memory then clear AC, Current page @@31", // op 3331 "DCA @@32 ;Deposit AC to memory then clear AC, Current page @@32", // op 3332 "DCA @@33 ;Deposit AC to memory then clear AC, Current page @@33", // op 3333 "DCA @@34 ;Deposit AC to memory then clear AC, Current page @@34", // op 3334 "DCA @@35 ;Deposit AC to memory then clear AC, Current page @@35", // op 3335 "DCA @@36 ;Deposit AC to memory then clear AC, Current page @@36", // op 3336 "DCA @@37 ;Deposit AC to memory then clear AC, Current page @@37", // op 3337 "DCA @@40 ;Deposit AC to memory then clear AC, Current page @@40", // op 3340 "DCA @@41 ;Deposit AC to memory then clear AC, Current page @@41", // op 3341 "DCA @@42 ;Deposit AC to memory then clear AC, Current page @@42", // op 3342 "DCA @@43 ;Deposit AC to memory then clear AC, Current page @@43", // op 3343 "DCA @@44 ;Deposit AC to memory then clear AC, Current page @@44", // op 3344 "DCA @@45 ;Deposit AC to memory then clear AC, Current page @@45", // op 3345 "DCA @@46 ;Deposit AC to memory then clear AC, Current page @@46", // op 3346 "DCA @@47 ;Deposit AC to memory then clear AC, Current page @@47", // op 3347 "DCA @@50 ;Deposit AC to memory then clear AC, Current page @@50", // op 3350 "DCA @@51 ;Deposit AC to memory then clear AC, Current page @@51", // op 3351 "DCA @@52 ;Deposit AC to memory then clear AC, Current page @@52", // op 3352 "DCA @@53 ;Deposit AC to memory then clear AC, Current page @@53", // op 3353 "DCA @@54 ;Deposit AC to memory then clear AC, Current page @@54", // op 3354 "DCA @@55 ;Deposit AC to memory then clear AC, Current page @@55", // op 3355 "DCA @@56 ;Deposit AC to memory then clear AC, Current page @@56", // op 3356 "DCA @@57 ;Deposit AC to memory then clear AC, Current page @@57", // op 3357 "DCA @@60 ;Deposit AC to memory then clear AC, Current page @@60", // op 3360 "DCA @@61 ;Deposit AC to memory then clear AC, Current page @@61", // op 3361 "DCA @@62 ;Deposit AC to memory then clear AC, Current page @@62", // op 3362 "DCA @@63 ;Deposit AC to memory then clear AC, Current page @@63", // op 3363 "DCA @@64 ;Deposit AC to memory then clear AC, Current page @@64", // op 3364 "DCA @@65 ;Deposit AC to memory then clear AC, Current page @@65", // op 3365 "DCA @@66 ;Deposit AC to memory then clear AC, Current page @@66", // op 3366 "DCA @@67 ;Deposit AC to memory then clear AC, Current page @@67", // op 3367 "DCA @@70 ;Deposit AC to memory then clear AC, Current page @@70", // op 3370 "DCA @@71 ;Deposit AC to memory then clear AC, Current page @@71", // op 3371 "DCA @@72 ;Deposit AC to memory then clear AC, Current page @@72", // op 3372 "DCA @@73 ;Deposit AC to memory then clear AC, Current page @@73", // op 3373 "DCA @@74 ;Deposit AC to memory then clear AC, Current page @@74", // op 3374 "DCA @@75 ;Deposit AC to memory then clear AC, Current page @@75", // op 3375 "DCA @@76 ;Deposit AC to memory then clear AC, Current page @@76", // op 3376 "DCA @@77 ;Deposit AC to memory then clear AC, Current page @@77", // op 3377 "DCA I 0000 ;Deposit AC to memory then clear AC, Indexed ZP 0000", // op 3400 "DCA I 0001 ;Deposit AC to memory then clear AC, Indexed ZP 0001", // op 3401 "DCA I 0002 ;Deposit AC to memory then clear AC, Indexed ZP 0002", // op 3402 "DCA I 0003 ;Deposit AC to memory then clear AC, Indexed ZP 0003", // op 3403 "DCA I 0004 ;Deposit AC to memory then clear AC, Indexed ZP 0004", // op 3404 "DCA I 0005 ;Deposit AC to memory then clear AC, Indexed ZP 0005", // op 3405 "DCA I 0006 ;Deposit AC to memory then clear AC, Indexed ZP 0006", // op 3406 "DCA I 0007 ;Deposit AC to memory then clear AC, Indexed ZP 0007", // op 3407 "DCA I 0010 ;Deposit AC to memory then clear AC, Indexed ZP 0010 [Auto pre-inc]", // op 3410 "DCA I 0011 ;Deposit AC to memory then clear AC, Indexed ZP 0011 [Auto pre-inc]", // op 3411 "DCA I 0012 ;Deposit AC to memory then clear AC, Indexed ZP 0012 [Auto pre-inc]", // op 3412 "DCA I 0013 ;Deposit AC to memory then clear AC, Indexed ZP 0013 [Auto pre-inc]", // op 3413 "DCA I 0014 ;Deposit AC to memory then clear AC, Indexed ZP 0014 [Auto pre-inc]", // op 3414 "DCA I 0015 ;Deposit AC to memory then clear AC, Indexed ZP 0015 [Auto pre-inc]", // op 3415 "DCA I 0016 ;Deposit AC to memory then clear AC, Indexed ZP 0016 [Auto pre-inc]", // op 3416 "DCA I 0017 ;Deposit AC to memory then clear AC, Indexed ZP 0017 [Auto pre-inc]", // op 3417 "DCA I 0020 ;Deposit AC to memory then clear AC, Indexed ZP 0020", // op 3420 "DCA I 0021 ;Deposit AC to memory then clear AC, Indexed ZP 0021", // op 3421 "DCA I 0022 ;Deposit AC to memory then clear AC, Indexed ZP 0022", // op 3422 "DCA I 0023 ;Deposit AC to memory then clear AC, Indexed ZP 0023", // op 3423 "DCA I 0024 ;Deposit AC to memory then clear AC, Indexed ZP 0024", // op 3424 "DCA I 0025 ;Deposit AC to memory then clear AC, Indexed ZP 0025", // op 3425 "DCA I 0026 ;Deposit AC to memory then clear AC, Indexed ZP 0026", // op 3426 "DCA I 0027 ;Deposit AC to memory then clear AC, Indexed ZP 0027", // op 3427 "DCA I 0030 ;Deposit AC to memory then clear AC, Indexed ZP 0030", // op 3430 "DCA I 0031 ;Deposit AC to memory then clear AC, Indexed ZP 0031", // op 3431 "DCA I 0032 ;Deposit AC to memory then clear AC, Indexed ZP 0032", // op 3432 "DCA I 0033 ;Deposit AC to memory then clear AC, Indexed ZP 0033", // op 3433 "DCA I 0034 ;Deposit AC to memory then clear AC, Indexed ZP 0034", // op 3434 "DCA I 0035 ;Deposit AC to memory then clear AC, Indexed ZP 0035", // op 3435 "DCA I 0036 ;Deposit AC to memory then clear AC, Indexed ZP 0036", // op 3436 "DCA I 0037 ;Deposit AC to memory then clear AC, Indexed ZP 0037", // op 3437 "DCA I 0040 ;Deposit AC to memory then clear AC, Indexed ZP 0040", // op 3440 "DCA I 0041 ;Deposit AC to memory then clear AC, Indexed ZP 0041", // op 3441 "DCA I 0042 ;Deposit AC to memory then clear AC, Indexed ZP 0042", // op 3442 "DCA I 0043 ;Deposit AC to memory then clear AC, Indexed ZP 0043", // op 3443 "DCA I 0044 ;Deposit AC to memory then clear AC, Indexed ZP 0044", // op 3444 "DCA I 0045 ;Deposit AC to memory then clear AC, Indexed ZP 0045", // op 3445 "DCA I 0046 ;Deposit AC to memory then clear AC, Indexed ZP 0046", // op 3446 "DCA I 0047 ;Deposit AC to memory then clear AC, Indexed ZP 0047", // op 3447 "DCA I 0050 ;Deposit AC to memory then clear AC, Indexed ZP 0050", // op 3450 "DCA I 0051 ;Deposit AC to memory then clear AC, Indexed ZP 0051", // op 3451 "DCA I 0052 ;Deposit AC to memory then clear AC, Indexed ZP 0052", // op 3452 "DCA I 0053 ;Deposit AC to memory then clear AC, Indexed ZP 0053", // op 3453 "DCA I 0054 ;Deposit AC to memory then clear AC, Indexed ZP 0054", // op 3454 "DCA I 0055 ;Deposit AC to memory then clear AC, Indexed ZP 0055", // op 3455 "DCA I 0056 ;Deposit AC to memory then clear AC, Indexed ZP 0056", // op 3456 "DCA I 0057 ;Deposit AC to memory then clear AC, Indexed ZP 0057", // op 3457 "DCA I 0060 ;Deposit AC to memory then clear AC, Indexed ZP 0060", // op 3460 "DCA I 0061 ;Deposit AC to memory then clear AC, Indexed ZP 0061", // op 3461 "DCA I 0062 ;Deposit AC to memory then clear AC, Indexed ZP 0062", // op 3462 "DCA I 0063 ;Deposit AC to memory then clear AC, Indexed ZP 0063", // op 3463 "DCA I 0064 ;Deposit AC to memory then clear AC, Indexed ZP 0064", // op 3464 "DCA I 0065 ;Deposit AC to memory then clear AC, Indexed ZP 0065", // op 3465 "DCA I 0066 ;Deposit AC to memory then clear AC, Indexed ZP 0066", // op 3466 "DCA I 0067 ;Deposit AC to memory then clear AC, Indexed ZP 0067", // op 3467 "DCA I 0070 ;Deposit AC to memory then clear AC, Indexed ZP 0070", // op 3470 "DCA I 0071 ;Deposit AC to memory then clear AC, Indexed ZP 0071", // op 3471 "DCA I 0072 ;Deposit AC to memory then clear AC, Indexed ZP 0072", // op 3472 "DCA I 0073 ;Deposit AC to memory then clear AC, Indexed ZP 0073", // op 3473 "DCA I 0074 ;Deposit AC to memory then clear AC, Indexed ZP 0074", // op 3474 "DCA I 0075 ;Deposit AC to memory then clear AC, Indexed ZP 0075", // op 3475 "DCA I 0076 ;Deposit AC to memory then clear AC, Indexed ZP 0076", // op 3476 "DCA I 0077 ;Deposit AC to memory then clear AC, Indexed ZP 0077", // op 3477 "DCA I 0100 ;Deposit AC to memory then clear AC, Indexed ZP 0100", // op 3500 "DCA I 0101 ;Deposit AC to memory then clear AC, Indexed ZP 0101", // op 3501 "DCA I 0102 ;Deposit AC to memory then clear AC, Indexed ZP 0102", // op 3502 "DCA I 0103 ;Deposit AC to memory then clear AC, Indexed ZP 0103", // op 3503 "DCA I 0104 ;Deposit AC to memory then clear AC, Indexed ZP 0104", // op 3504 "DCA I 0105 ;Deposit AC to memory then clear AC, Indexed ZP 0105", // op 3505 "DCA I 0106 ;Deposit AC to memory then clear AC, Indexed ZP 0106", // op 3506 "DCA I 0107 ;Deposit AC to memory then clear AC, Indexed ZP 0107", // op 3507 "DCA I 0110 ;Deposit AC to memory then clear AC, Indexed ZP 0110", // op 3510 "DCA I 0111 ;Deposit AC to memory then clear AC, Indexed ZP 0111", // op 3511 "DCA I 0112 ;Deposit AC to memory then clear AC, Indexed ZP 0112", // op 3512 "DCA I 0113 ;Deposit AC to memory then clear AC, Indexed ZP 0113", // op 3513 "DCA I 0114 ;Deposit AC to memory then clear AC, Indexed ZP 0114", // op 3514 "DCA I 0115 ;Deposit AC to memory then clear AC, Indexed ZP 0115", // op 3515 "DCA I 0116 ;Deposit AC to memory then clear AC, Indexed ZP 0116", // op 3516 "DCA I 0117 ;Deposit AC to memory then clear AC, Indexed ZP 0117", // op 3517 "DCA I 0120 ;Deposit AC to memory then clear AC, Indexed ZP 0120", // op 3520 "DCA I 0121 ;Deposit AC to memory then clear AC, Indexed ZP 0121", // op 3521 "DCA I 0122 ;Deposit AC to memory then clear AC, Indexed ZP 0122", // op 3522 "DCA I 0123 ;Deposit AC to memory then clear AC, Indexed ZP 0123", // op 3523 "DCA I 0124 ;Deposit AC to memory then clear AC, Indexed ZP 0124", // op 3524 "DCA I 0125 ;Deposit AC to memory then clear AC, Indexed ZP 0125", // op 3525 "DCA I 0126 ;Deposit AC to memory then clear AC, Indexed ZP 0126", // op 3526 "DCA I 0127 ;Deposit AC to memory then clear AC, Indexed ZP 0127", // op 3527 "DCA I 0130 ;Deposit AC to memory then clear AC, Indexed ZP 0130", // op 3530 "DCA I 0131 ;Deposit AC to memory then clear AC, Indexed ZP 0131", // op 3531 "DCA I 0132 ;Deposit AC to memory then clear AC, Indexed ZP 0132", // op 3532 "DCA I 0133 ;Deposit AC to memory then clear AC, Indexed ZP 0133", // op 3533 "DCA I 0134 ;Deposit AC to memory then clear AC, Indexed ZP 0134", // op 3534 "DCA I 0135 ;Deposit AC to memory then clear AC, Indexed ZP 0135", // op 3535 "DCA I 0136 ;Deposit AC to memory then clear AC, Indexed ZP 0136", // op 3536 "DCA I 0137 ;Deposit AC to memory then clear AC, Indexed ZP 0137", // op 3537 "DCA I 0140 ;Deposit AC to memory then clear AC, Indexed ZP 0140", // op 3540 "DCA I 0141 ;Deposit AC to memory then clear AC, Indexed ZP 0141", // op 3541 "DCA I 0142 ;Deposit AC to memory then clear AC, Indexed ZP 0142", // op 3542 "DCA I 0143 ;Deposit AC to memory then clear AC, Indexed ZP 0143", // op 3543 "DCA I 0144 ;Deposit AC to memory then clear AC, Indexed ZP 0144", // op 3544 "DCA I 0145 ;Deposit AC to memory then clear AC, Indexed ZP 0145", // op 3545 "DCA I 0146 ;Deposit AC to memory then clear AC, Indexed ZP 0146", // op 3546 "DCA I 0147 ;Deposit AC to memory then clear AC, Indexed ZP 0147", // op 3547 "DCA I 0150 ;Deposit AC to memory then clear AC, Indexed ZP 0150", // op 3550 "DCA I 0151 ;Deposit AC to memory then clear AC, Indexed ZP 0151", // op 3551 "DCA I 0152 ;Deposit AC to memory then clear AC, Indexed ZP 0152", // op 3552 "DCA I 0153 ;Deposit AC to memory then clear AC, Indexed ZP 0153", // op 3553 "DCA I 0154 ;Deposit AC to memory then clear AC, Indexed ZP 0154", // op 3554 "DCA I 0155 ;Deposit AC to memory then clear AC, Indexed ZP 0155", // op 3555 "DCA I 0156 ;Deposit AC to memory then clear AC, Indexed ZP 0156", // op 3556 "DCA I 0157 ;Deposit AC to memory then clear AC, Indexed ZP 0157", // op 3557 "DCA I 0160 ;Deposit AC to memory then clear AC, Indexed ZP 0160", // op 3560 "DCA I 0161 ;Deposit AC to memory then clear AC, Indexed ZP 0161", // op 3561 "DCA I 0162 ;Deposit AC to memory then clear AC, Indexed ZP 0162", // op 3562 "DCA I 0163 ;Deposit AC to memory then clear AC, Indexed ZP 0163", // op 3563 "DCA I 0164 ;Deposit AC to memory then clear AC, Indexed ZP 0164", // op 3564 "DCA I 0165 ;Deposit AC to memory then clear AC, Indexed ZP 0165", // op 3565 "DCA I 0166 ;Deposit AC to memory then clear AC, Indexed ZP 0166", // op 3566 "DCA I 0167 ;Deposit AC to memory then clear AC, Indexed ZP 0167", // op 3567 "DCA I 0170 ;Deposit AC to memory then clear AC, Indexed ZP 0170", // op 3570 "DCA I 0171 ;Deposit AC to memory then clear AC, Indexed ZP 0171", // op 3571 "DCA I 0172 ;Deposit AC to memory then clear AC, Indexed ZP 0172", // op 3572 "DCA I 0173 ;Deposit AC to memory then clear AC, Indexed ZP 0173", // op 3573 "DCA I 0174 ;Deposit AC to memory then clear AC, Indexed ZP 0174", // op 3574 "DCA I 0175 ;Deposit AC to memory then clear AC, Indexed ZP 0175", // op 3575 "DCA I 0176 ;Deposit AC to memory then clear AC, Indexed ZP 0176", // op 3576 "DCA I 0177 ;Deposit AC to memory then clear AC, Indexed ZP 0177", // op 3577 "DCA I @@00 ;Deposit AC to memory then clear AC, Indexed Current page @@00", // op 3600 "DCA I @@01 ;Deposit AC to memory then clear AC, Indexed Current page @@01", // op 3601 "DCA I @@02 ;Deposit AC to memory then clear AC, Indexed Current page @@02", // op 3602 "DCA I @@03 ;Deposit AC to memory then clear AC, Indexed Current page @@03", // op 3603 "DCA I @@04 ;Deposit AC to memory then clear AC, Indexed Current page @@04", // op 3604 "DCA I @@05 ;Deposit AC to memory then clear AC, Indexed Current page @@05", // op 3605 "DCA I @@06 ;Deposit AC to memory then clear AC, Indexed Current page @@06", // op 3606 "DCA I @@07 ;Deposit AC to memory then clear AC, Indexed Current page @@07", // op 3607 "DCA I @@10 ;Deposit AC to memory then clear AC, Indexed Current page @@10", // op 3610 "DCA I @@11 ;Deposit AC to memory then clear AC, Indexed Current page @@11", // op 3611 "DCA I @@12 ;Deposit AC to memory then clear AC, Indexed Current page @@12", // op 3612 "DCA I @@13 ;Deposit AC to memory then clear AC, Indexed Current page @@13", // op 3613 "DCA I @@14 ;Deposit AC to memory then clear AC, Indexed Current page @@14", // op 3614 "DCA I @@15 ;Deposit AC to memory then clear AC, Indexed Current page @@15", // op 3615 "DCA I @@16 ;Deposit AC to memory then clear AC, Indexed Current page @@16", // op 3616 "DCA I @@17 ;Deposit AC to memory then clear AC, Indexed Current page @@17", // op 3617 "DCA I @@20 ;Deposit AC to memory then clear AC, Indexed Current page @@20", // op 3620 "DCA I @@21 ;Deposit AC to memory then clear AC, Indexed Current page @@21", // op 3621 "DCA I @@22 ;Deposit AC to memory then clear AC, Indexed Current page @@22", // op 3622 "DCA I @@23 ;Deposit AC to memory then clear AC, Indexed Current page @@23", // op 3623 "DCA I @@24 ;Deposit AC to memory then clear AC, Indexed Current page @@24", // op 3624 "DCA I @@25 ;Deposit AC to memory then clear AC, Indexed Current page @@25", // op 3625 "DCA I @@26 ;Deposit AC to memory then clear AC, Indexed Current page @@26", // op 3626 "DCA I @@27 ;Deposit AC to memory then clear AC, Indexed Current page @@27", // op 3627 "DCA I @@30 ;Deposit AC to memory then clear AC, Indexed Current page @@30", // op 3630 "DCA I @@31 ;Deposit AC to memory then clear AC, Indexed Current page @@31", // op 3631 "DCA I @@32 ;Deposit AC to memory then clear AC, Indexed Current page @@32", // op 3632 "DCA I @@33 ;Deposit AC to memory then clear AC, Indexed Current page @@33", // op 3633 "DCA I @@34 ;Deposit AC to memory then clear AC, Indexed Current page @@34", // op 3634 "DCA I @@35 ;Deposit AC to memory then clear AC, Indexed Current page @@35", // op 3635 "DCA I @@36 ;Deposit AC to memory then clear AC, Indexed Current page @@36", // op 3636 "DCA I @@37 ;Deposit AC to memory then clear AC, Indexed Current page @@37", // op 3637 "DCA I @@40 ;Deposit AC to memory then clear AC, Indexed Current page @@40", // op 3640 "DCA I @@41 ;Deposit AC to memory then clear AC, Indexed Current page @@41", // op 3641 "DCA I @@42 ;Deposit AC to memory then clear AC, Indexed Current page @@42", // op 3642 "DCA I @@43 ;Deposit AC to memory then clear AC, Indexed Current page @@43", // op 3643 "DCA I @@44 ;Deposit AC to memory then clear AC, Indexed Current page @@44", // op 3644 "DCA I @@45 ;Deposit AC to memory then clear AC, Indexed Current page @@45", // op 3645 "DCA I @@46 ;Deposit AC to memory then clear AC, Indexed Current page @@46", // op 3646 "DCA I @@47 ;Deposit AC to memory then clear AC, Indexed Current page @@47", // op 3647 "DCA I @@50 ;Deposit AC to memory then clear AC, Indexed Current page @@50", // op 3650 "DCA I @@51 ;Deposit AC to memory then clear AC, Indexed Current page @@51", // op 3651 "DCA I @@52 ;Deposit AC to memory then clear AC, Indexed Current page @@52", // op 3652 "DCA I @@53 ;Deposit AC to memory then clear AC, Indexed Current page @@53", // op 3653 "DCA I @@54 ;Deposit AC to memory then clear AC, Indexed Current page @@54", // op 3654 "DCA I @@55 ;Deposit AC to memory then clear AC, Indexed Current page @@55", // op 3655 "DCA I @@56 ;Deposit AC to memory then clear AC, Indexed Current page @@56", // op 3656 "DCA I @@57 ;Deposit AC to memory then clear AC, Indexed Current page @@57", // op 3657 "DCA I @@60 ;Deposit AC to memory then clear AC, Indexed Current page @@60", // op 3660 "DCA I @@61 ;Deposit AC to memory then clear AC, Indexed Current page @@61", // op 3661 "DCA I @@62 ;Deposit AC to memory then clear AC, Indexed Current page @@62", // op 3662 "DCA I @@63 ;Deposit AC to memory then clear AC, Indexed Current page @@63", // op 3663 "DCA I @@64 ;Deposit AC to memory then clear AC, Indexed Current page @@64", // op 3664 "DCA I @@65 ;Deposit AC to memory then clear AC, Indexed Current page @@65", // op 3665 "DCA I @@66 ;Deposit AC to memory then clear AC, Indexed Current page @@66", // op 3666 "DCA I @@67 ;Deposit AC to memory then clear AC, Indexed Current page @@67", // op 3667 "DCA I @@70 ;Deposit AC to memory then clear AC, Indexed Current page @@70", // op 3670 "DCA I @@71 ;Deposit AC to memory then clear AC, Indexed Current page @@71", // op 3671 "DCA I @@72 ;Deposit AC to memory then clear AC, Indexed Current page @@72", // op 3672 "DCA I @@73 ;Deposit AC to memory then clear AC, Indexed Current page @@73", // op 3673 "DCA I @@74 ;Deposit AC to memory then clear AC, Indexed Current page @@74", // op 3674 "DCA I @@75 ;Deposit AC to memory then clear AC, Indexed Current page @@75", // op 3675 "DCA I @@76 ;Deposit AC to memory then clear AC, Indexed Current page @@76", // op 3676 "DCA I @@77 ;Deposit AC to memory then clear AC, Indexed Current page @@77", // op 3677 "DCA I @@00 ;Deposit AC to memory then clear AC, Indexed Current page @@00", // op 3700 "DCA I @@01 ;Deposit AC to memory then clear AC, Indexed Current page @@01", // op 3701 "DCA I @@02 ;Deposit AC to memory then clear AC, Indexed Current page @@02", // op 3702 "DCA I @@03 ;Deposit AC to memory then clear AC, Indexed Current page @@03", // op 3703 "DCA I @@04 ;Deposit AC to memory then clear AC, Indexed Current page @@04", // op 3704 "DCA I @@05 ;Deposit AC to memory then clear AC, Indexed Current page @@05", // op 3705 "DCA I @@06 ;Deposit AC to memory then clear AC, Indexed Current page @@06", // op 3706 "DCA I @@07 ;Deposit AC to memory then clear AC, Indexed Current page @@07", // op 3707 "DCA I @@10 ;Deposit AC to memory then clear AC, Indexed Current page @@10", // op 3710 "DCA I @@11 ;Deposit AC to memory then clear AC, Indexed Current page @@11", // op 3711 "DCA I @@12 ;Deposit AC to memory then clear AC, Indexed Current page @@12", // op 3712 "DCA I @@13 ;Deposit AC to memory then clear AC, Indexed Current page @@13", // op 3713 "DCA I @@14 ;Deposit AC to memory then clear AC, Indexed Current page @@14", // op 3714 "DCA I @@15 ;Deposit AC to memory then clear AC, Indexed Current page @@15", // op 3715 "DCA I @@16 ;Deposit AC to memory then clear AC, Indexed Current page @@16", // op 3716 "DCA I @@17 ;Deposit AC to memory then clear AC, Indexed Current page @@17", // op 3717 "DCA I @@20 ;Deposit AC to memory then clear AC, Indexed Current page @@20", // op 3720 "DCA I @@21 ;Deposit AC to memory then clear AC, Indexed Current page @@21", // op 3721 "DCA I @@22 ;Deposit AC to memory then clear AC, Indexed Current page @@22", // op 3722 "DCA I @@23 ;Deposit AC to memory then clear AC, Indexed Current page @@23", // op 3723 "DCA I @@24 ;Deposit AC to memory then clear AC, Indexed Current page @@24", // op 3724 "DCA I @@25 ;Deposit AC to memory then clear AC, Indexed Current page @@25", // op 3725 "DCA I @@26 ;Deposit AC to memory then clear AC, Indexed Current page @@26", // op 3726 "DCA I @@27 ;Deposit AC to memory then clear AC, Indexed Current page @@27", // op 3727 "DCA I @@30 ;Deposit AC to memory then clear AC, Indexed Current page @@30", // op 3730 "DCA I @@31 ;Deposit AC to memory then clear AC, Indexed Current page @@31", // op 3731 "DCA I @@32 ;Deposit AC to memory then clear AC, Indexed Current page @@32", // op 3732 "DCA I @@33 ;Deposit AC to memory then clear AC, Indexed Current page @@33", // op 3733 "DCA I @@34 ;Deposit AC to memory then clear AC, Indexed Current page @@34", // op 3734 "DCA I @@35 ;Deposit AC to memory then clear AC, Indexed Current page @@35", // op 3735 "DCA I @@36 ;Deposit AC to memory then clear AC, Indexed Current page @@36", // op 3736 "DCA I @@37 ;Deposit AC to memory then clear AC, Indexed Current page @@37", // op 3737 "DCA I @@40 ;Deposit AC to memory then clear AC, Indexed Current page @@40", // op 3740 "DCA I @@41 ;Deposit AC to memory then clear AC, Indexed Current page @@41", // op 3741 "DCA I @@42 ;Deposit AC to memory then clear AC, Indexed Current page @@42", // op 3742 "DCA I @@43 ;Deposit AC to memory then clear AC, Indexed Current page @@43", // op 3743 "DCA I @@44 ;Deposit AC to memory then clear AC, Indexed Current page @@44", // op 3744 "DCA I @@45 ;Deposit AC to memory then clear AC, Indexed Current page @@45", // op 3745 "DCA I @@46 ;Deposit AC to memory then clear AC, Indexed Current page @@46", // op 3746 "DCA I @@47 ;Deposit AC to memory then clear AC, Indexed Current page @@47", // op 3747 "DCA I @@50 ;Deposit AC to memory then clear AC, Indexed Current page @@50", // op 3750 "DCA I @@51 ;Deposit AC to memory then clear AC, Indexed Current page @@51", // op 3751 "DCA I @@52 ;Deposit AC to memory then clear AC, Indexed Current page @@52", // op 3752 "DCA I @@53 ;Deposit AC to memory then clear AC, Indexed Current page @@53", // op 3753 "DCA I @@54 ;Deposit AC to memory then clear AC, Indexed Current page @@54", // op 3754 "DCA I @@55 ;Deposit AC to memory then clear AC, Indexed Current page @@55", // op 3755 "DCA I @@56 ;Deposit AC to memory then clear AC, Indexed Current page @@56", // op 3756 "DCA I @@57 ;Deposit AC to memory then clear AC, Indexed Current page @@57", // op 3757 "DCA I @@60 ;Deposit AC to memory then clear AC, Indexed Current page @@60", // op 3760 "DCA I @@61 ;Deposit AC to memory then clear AC, Indexed Current page @@61", // op 3761 "DCA I @@62 ;Deposit AC to memory then clear AC, Indexed Current page @@62", // op 3762 "DCA I @@63 ;Deposit AC to memory then clear AC, Indexed Current page @@63", // op 3763 "DCA I @@64 ;Deposit AC to memory then clear AC, Indexed Current page @@64", // op 3764 "DCA I @@65 ;Deposit AC to memory then clear AC, Indexed Current page @@65", // op 3765 "DCA I @@66 ;Deposit AC to memory then clear AC, Indexed Current page @@66", // op 3766 "DCA I @@67 ;Deposit AC to memory then clear AC, Indexed Current page @@67", // op 3767 "DCA I @@70 ;Deposit AC to memory then clear AC, Indexed Current page @@70", // op 3770 "DCA I @@71 ;Deposit AC to memory then clear AC, Indexed Current page @@71", // op 3771 "DCA I @@72 ;Deposit AC to memory then clear AC, Indexed Current page @@72", // op 3772 "DCA I @@73 ;Deposit AC to memory then clear AC, Indexed Current page @@73", // op 3773 "DCA I @@74 ;Deposit AC to memory then clear AC, Indexed Current page @@74", // op 3774 "DCA I @@75 ;Deposit AC to memory then clear AC, Indexed Current page @@75", // op 3775 "DCA I @@76 ;Deposit AC to memory then clear AC, Indexed Current page @@76", // op 3776 "DCA I @@77 ;Deposit AC to memory then clear AC, Indexed Current page @@77", // op 3777 "JMS 0000 ;Jump to subroutine ZP 0000 ", // op 4000 "JMS 0001 ;Jump to subroutine ZP 0001", // op 4001 "JMS 0002 ;Jump to subroutine ZP 0002", // op 4002 "JMS 0003 ;Jump to subroutine ZP 0003", // op 4003 "JMS 0004 ;Jump to subroutine ZP 0004", // op 4004 "JMS 0005 ;Jump to subroutine ZP 0005", // op 4005 "JMS 0006 ;Jump to subroutine ZP 0006", // op 4006 "JMS 0007 ;Jump to subroutine ZP 0007", // op 4007 "JMS 0010 ;Jump to subroutine ZP 0010", // op 4010 "JMS 0011 ;Jump to subroutine ZP 0011", // op 4011 "JMS 0012 ;Jump to subroutine ZP 0012", // op 4012 "JMS 0013 ;Jump to subroutine ZP 0013", // op 4013 "JMS 0014 ;Jump to subroutine ZP 0014", // op 4014 "JMS 0015 ;Jump to subroutine ZP 0015", // op 4015 "JMS 0016 ;Jump to subroutine ZP 0016", // op 4016 "JMS 0017 ;Jump to subroutine ZP 0017", // op 4017 "JMS 0020 ;Jump to subroutine ZP 0020", // op 4020 "JMS 0021 ;Jump to subroutine ZP 0021", // op 4021 "JMS 0022 ;Jump to subroutine ZP 0022", // op 4022 "JMS 0023 ;Jump to subroutine ZP 0023", // op 4023 "JMS 0024 ;Jump to subroutine ZP 0024", // op 4024 "JMS 0025 ;Jump to subroutine ZP 0025", // op 4025 "JMS 0026 ;Jump to subroutine ZP 0026", // op 4026 "JMS 0027 ;Jump to subroutine ZP 0027", // op 4027 "JMS 0030 ;Jump to subroutine ZP 0030", // op 4030 "JMS 0031 ;Jump to subroutine ZP 0031", // op 4031 "JMS 0032 ;Jump to subroutine ZP 0032", // op 4032 "JMS 0033 ;Jump to subroutine ZP 0033", // op 4033 "JMS 0034 ;Jump to subroutine ZP 0034", // op 4034 "JMS 0035 ;Jump to subroutine ZP 0035", // op 4035 "JMS 0036 ;Jump to subroutine ZP 0036", // op 4036 "JMS 0037 ;Jump to subroutine ZP 0037", // op 4037 "JMS 0040 ;Jump to subroutine ZP 0040", // op 4040 "JMS 0041 ;Jump to subroutine ZP 0041", // op 4041 "JMS 0042 ;Jump to subroutine ZP 0042", // op 4042 "JMS 0043 ;Jump to subroutine ZP 0043", // op 4043 "JMS 0044 ;Jump to subroutine ZP 0044", // op 4044 "JMS 0045 ;Jump to subroutine ZP 0045", // op 4045 "JMS 0046 ;Jump to subroutine ZP 0046", // op 4046 "JMS 0047 ;Jump to subroutine ZP 0047", // op 4047 "JMS 0050 ;Jump to subroutine ZP 0050", // op 4050 "JMS 0051 ;Jump to subroutine ZP 0051", // op 4051 "JMS 0052 ;Jump to subroutine ZP 0052", // op 4052 "JMS 0053 ;Jump to subroutine ZP 0053", // op 4053 "JMS 0054 ;Jump to subroutine ZP 0054", // op 4054 "JMS 0055 ;Jump to subroutine ZP 0055", // op 4055 "JMS 0056 ;Jump to subroutine ZP 0056", // op 4056 "JMS 0057 ;Jump to subroutine ZP 0057", // op 4057 "JMS 0060 ;Jump to subroutine ZP 0060", // op 4060 "JMS 0061 ;Jump to subroutine ZP 0061", // op 4061 "JMS 0062 ;Jump to subroutine ZP 0062", // op 4062 "JMS 0063 ;Jump to subroutine ZP 0063", // op 4063 "JMS 0064 ;Jump to subroutine ZP 0064", // op 4064 "JMS 0065 ;Jump to subroutine ZP 0065", // op 4065 "JMS 0066 ;Jump to subroutine ZP 0066", // op 4066 "JMS 0067 ;Jump to subroutine ZP 0067", // op 4067 "JMS 0070 ;Jump to subroutine ZP 0070", // op 4070 "JMS 0071 ;Jump to subroutine ZP 0071", // op 4071 "JMS 0072 ;Jump to subroutine ZP 0072", // op 4072 "JMS 0073 ;Jump to subroutine ZP 0073", // op 4073 "JMS 0074 ;Jump to subroutine ZP 0074", // op 4074 "JMS 0075 ;Jump to subroutine ZP 0075", // op 4075 "JMS 0076 ;Jump to subroutine ZP 0076", // op 4076 "JMS 0077 ;Jump to subroutine ZP 0077", // op 4077 "JMS 0100 ;Jump to subroutine ZP 0100", // op 4100 "JMS 0101 ;Jump to subroutine ZP 0101", // op 4101 "JMS 0102 ;Jump to subroutine ZP 0102", // op 4102 "JMS 0103 ;Jump to subroutine ZP 0103", // op 4103 "JMS 0104 ;Jump to subroutine ZP 0104", // op 4104 "JMS 0105 ;Jump to subroutine ZP 0105", // op 4105 "JMS 0106 ;Jump to subroutine ZP 0106", // op 4106 "JMS 0107 ;Jump to subroutine ZP 0107", // op 4107 "JMS 0110 ;Jump to subroutine ZP 0110", // op 4110 "JMS 0111 ;Jump to subroutine ZP 0111", // op 4111 "JMS 0112 ;Jump to subroutine ZP 0112", // op 4112 "JMS 0113 ;Jump to subroutine ZP 0113", // op 4113 "JMS 0114 ;Jump to subroutine ZP 0114", // op 4114 "JMS 0115 ;Jump to subroutine ZP 0115", // op 4115 "JMS 0116 ;Jump to subroutine ZP 0116", // op 4116 "JMS 0117 ;Jump to subroutine ZP 0117", // op 4117 "JMS 0120 ;Jump to subroutine ZP 0120", // op 4120 "JMS 0121 ;Jump to subroutine ZP 0121", // op 4121 "JMS 0122 ;Jump to subroutine ZP 0122", // op 4122 "JMS 0123 ;Jump to subroutine ZP 0123", // op 4123 "JMS 0124 ;Jump to subroutine ZP 0124", // op 4124 "JMS 0125 ;Jump to subroutine ZP 0125", // op 4125 "JMS 0126 ;Jump to subroutine ZP 0126", // op 4126 "JMS 0127 ;Jump to subroutine ZP 0127", // op 4127 "JMS 0130 ;Jump to subroutine ZP 0130", // op 4130 "JMS 0131 ;Jump to subroutine ZP 0131", // op 4131 "JMS 0132 ;Jump to subroutine ZP 0132", // op 4132 "JMS 0133 ;Jump to subroutine ZP 0133", // op 4133 "JMS 0134 ;Jump to subroutine ZP 0134", // op 4134 "JMS 0135 ;Jump to subroutine ZP 0135", // op 4135 "JMS 0136 ;Jump to subroutine ZP 0136", // op 4136 "JMS 0137 ;Jump to subroutine ZP 0137", // op 4137 "JMS 0140 ;Jump to subroutine ZP 0140", // op 4140 "JMS 0141 ;Jump to subroutine ZP 0141", // op 4141 "JMS 0142 ;Jump to subroutine ZP 0142", // op 4142 "JMS 0143 ;Jump to subroutine ZP 0143", // op 4143 "JMS 0144 ;Jump to subroutine ZP 0144", // op 4144 "JMS 0145 ;Jump to subroutine ZP 0145", // op 4145 "JMS 0146 ;Jump to subroutine ZP 0146", // op 4146 "JMS 0147 ;Jump to subroutine ZP 0147", // op 4147 "JMS 0150 ;Jump to subroutine ZP 0150", // op 4150 "JMS 0151 ;Jump to subroutine ZP 0151", // op 4151 "JMS 0152 ;Jump to subroutine ZP 0152", // op 4152 "JMS 0153 ;Jump to subroutine ZP 0153", // op 4153 "JMS 0154 ;Jump to subroutine ZP 0154", // op 4154 "JMS 0155 ;Jump to subroutine ZP 0155", // op 4155 "JMS 0156 ;Jump to subroutine ZP 0156", // op 4156 "JMS 0157 ;Jump to subroutine ZP 0157", // op 4157 "JMS 0160 ;Jump to subroutine ZP 0160", // op 4160 "JMS 0161 ;Jump to subroutine ZP 0161", // op 4161 "JMS 0162 ;Jump to subroutine ZP 0162", // op 4162 "JMS 0163 ;Jump to subroutine ZP 0163", // op 4163 "JMS 0164 ;Jump to subroutine ZP 0164", // op 4164 "JMS 0165 ;Jump to subroutine ZP 0165", // op 4165 "JMS 0166 ;Jump to subroutine ZP 0166", // op 4166 "JMS 0167 ;Jump to subroutine ZP 0167", // op 4167 "JMS 0170 ;Jump to subroutine ZP 0170", // op 4170 "JMS 0171 ;Jump to subroutine ZP 0171", // op 4171 "JMS 0172 ;Jump to subroutine ZP 0172", // op 4172 "JMS 0173 ;Jump to subroutine ZP 0173", // op 4173 "JMS 0174 ;Jump to subroutine ZP 0174", // op 4174 "JMS 0175 ;Jump to subroutine ZP 0175", // op 4175 "JMS 0176 ;Jump to subroutine ZP 0176", // op 4176 "JMS 0177 ;Jump to subroutine ZP 0177", // op 4177 "JMS @@00 ;Jump to subroutine Current page @@00", // op 4200 "JMS @@01 ;Jump to subroutine Current page @@01", // op 4201 "JMS @@02 ;Jump to subroutine Current page @@02", // op 4202 "JMS @@03 ;Jump to subroutine Current page @@03", // op 4203 "JMS @@04 ;Jump to subroutine Current page @@04", // op 4204 "JMS @@05 ;Jump to subroutine Current page @@05", // op 4205 "JMS @@06 ;Jump to subroutine Current page @@06", // op 4206 "JMS @@07 ;Jump to subroutine Current page @@07", // op 4207 "JMS @@10 ;Jump to subroutine Current page @@10", // op 4210 "JMS @@11 ;Jump to subroutine Current page @@11", // op 4211 "JMS @@12 ;Jump to subroutine Current page @@12", // op 4212 "JMS @@13 ;Jump to subroutine Current page @@13", // op 4213 "JMS @@14 ;Jump to subroutine Current page @@14", // op 4214 "JMS @@15 ;Jump to subroutine Current page @@15", // op 4215 "JMS @@16 ;Jump to subroutine Current page @@16", // op 4216 "JMS @@17 ;Jump to subroutine Current page @@17", // op 4217 "JMS @@20 ;Jump to subroutine Current page @@20", // op 4220 "JMS @@21 ;Jump to subroutine Current page @@21", // op 4221 "JMS @@22 ;Jump to subroutine Current page @@22", // op 4222 "JMS @@23 ;Jump to subroutine Current page @@23", // op 4223 "JMS @@24 ;Jump to subroutine Current page @@24", // op 4224 "JMS @@25 ;Jump to subroutine Current page @@25", // op 4225 "JMS @@26 ;Jump to subroutine Current page @@26", // op 4226 "JMS @@27 ;Jump to subroutine Current page @@27", // op 4227 "JMS @@30 ;Jump to subroutine Current page @@30", // op 4230 "JMS @@31 ;Jump to subroutine Current page @@31", // op 4231 "JMS @@32 ;Jump to subroutine Current page @@32", // op 4232 "JMS @@33 ;Jump to subroutine Current page @@33", // op 4233 "JMS @@34 ;Jump to subroutine Current page @@34", // op 4234 "JMS @@35 ;Jump to subroutine Current page @@35", // op 4235 "JMS @@36 ;Jump to subroutine Current page @@36", // op 4236 "JMS @@37 ;Jump to subroutine Current page @@37", // op 4237 "JMS @@40 ;Jump to subroutine Current page @@40", // op 4240 "JMS @@41 ;Jump to subroutine Current page @@41", // op 4241 "JMS @@42 ;Jump to subroutine Current page @@42", // op 4242 "JMS @@43 ;Jump to subroutine Current page @@43", // op 4243 "JMS @@44 ;Jump to subroutine Current page @@44", // op 4244 "JMS @@45 ;Jump to subroutine Current page @@45", // op 4245 "JMS @@46 ;Jump to subroutine Current page @@46", // op 4246 "JMS @@47 ;Jump to subroutine Current page @@47", // op 4247 "JMS @@50 ;Jump to subroutine Current page @@50", // op 4250 "JMS @@51 ;Jump to subroutine Current page @@51", // op 4251 "JMS @@52 ;Jump to subroutine Current page @@52", // op 4252 "JMS @@53 ;Jump to subroutine Current page @@53", // op 4253 "JMS @@54 ;Jump to subroutine Current page @@54", // op 4254 "JMS @@55 ;Jump to subroutine Current page @@55", // op 4255 "JMS @@56 ;Jump to subroutine Current page @@56", // op 4256 "JMS @@57 ;Jump to subroutine Current page @@57", // op 4257 "JMS @@60 ;Jump to subroutine Current page @@60", // op 4260 "JMS @@61 ;Jump to subroutine Current page @@61", // op 4261 "JMS @@62 ;Jump to subroutine Current page @@62", // op 4262 "JMS @@63 ;Jump to subroutine Current page @@63", // op 4263 "JMS @@64 ;Jump to subroutine Current page @@64", // op 4264 "JMS @@65 ;Jump to subroutine Current page @@65", // op 4265 "JMS @@66 ;Jump to subroutine Current page @@66", // op 4266 "JMS @@67 ;Jump to subroutine Current page @@67", // op 4267 "JMS @@70 ;Jump to subroutine Current page @@70", // op 4270 "JMS @@71 ;Jump to subroutine Current page @@71", // op 4271 "JMS @@72 ;Jump to subroutine Current page @@72", // op 4272 "JMS @@73 ;Jump to subroutine Current page @@73", // op 4273 "JMS @@74 ;Jump to subroutine Current page @@74", // op 4274 "JMS @@75 ;Jump to subroutine Current page @@75", // op 4275 "JMS @@76 ;Jump to subroutine Current page @@76", // op 4276 "JMS @@77 ;Jump to subroutine Current page @@77", // op 4277 "JMS @@00 ;Jump to subroutine Current page @@00", // op 4300 "JMS @@01 ;Jump to subroutine Current page @@01", // op 4301 "JMS @@02 ;Jump to subroutine Current page @@02", // op 4302 "JMS @@03 ;Jump to subroutine Current page @@03", // op 4303 "JMS @@04 ;Jump to subroutine Current page @@04", // op 4304 "JMS @@05 ;Jump to subroutine Current page @@05", // op 4305 "JMS @@06 ;Jump to subroutine Current page @@06", // op 4306 "JMS @@07 ;Jump to subroutine Current page @@07", // op 4307 "JMS @@10 ;Jump to subroutine Current page @@10", // op 4310 "JMS @@11 ;Jump to subroutine Current page @@11", // op 4311 "JMS @@12 ;Jump to subroutine Current page @@12", // op 4312 "JMS @@13 ;Jump to subroutine Current page @@13", // op 4313 "JMS @@14 ;Jump to subroutine Current page @@14", // op 4314 "JMS @@15 ;Jump to subroutine Current page @@15", // op 4315 "JMS @@16 ;Jump to subroutine Current page @@16", // op 4316 "JMS @@17 ;Jump to subroutine Current page @@17", // op 4317 "JMS @@20 ;Jump to subroutine Current page @@20", // op 4320 "JMS @@21 ;Jump to subroutine Current page @@21", // op 4321 "JMS @@22 ;Jump to subroutine Current page @@22", // op 4322 "JMS @@23 ;Jump to subroutine Current page @@23", // op 4323 "JMS @@24 ;Jump to subroutine Current page @@24", // op 4324 "JMS @@25 ;Jump to subroutine Current page @@25", // op 4325 "JMS @@26 ;Jump to subroutine Current page @@26", // op 4326 "JMS @@27 ;Jump to subroutine Current page @@27", // op 4327 "JMS @@30 ;Jump to subroutine Current page @@30", // op 4330 "JMS @@31 ;Jump to subroutine Current page @@31", // op 4331 "JMS @@32 ;Jump to subroutine Current page @@32", // op 4332 "JMS @@33 ;Jump to subroutine Current page @@33", // op 4333 "JMS @@34 ;Jump to subroutine Current page @@34", // op 4334 "JMS @@35 ;Jump to subroutine Current page @@35", // op 4335 "JMS @@36 ;Jump to subroutine Current page @@36", // op 4336 "JMS @@37 ;Jump to subroutine Current page @@37", // op 4337 "JMS @@40 ;Jump to subroutine Current page @@40", // op 4340 "JMS @@41 ;Jump to subroutine Current page @@41", // op 4341 "JMS @@42 ;Jump to subroutine Current page @@42", // op 4342 "JMS @@43 ;Jump to subroutine Current page @@43", // op 4343 "JMS @@44 ;Jump to subroutine Current page @@44", // op 4344 "JMS @@45 ;Jump to subroutine Current page @@45", // op 4345 "JMS @@46 ;Jump to subroutine Current page @@46", // op 4346 "JMS @@47 ;Jump to subroutine Current page @@47", // op 4347 "JMS @@50 ;Jump to subroutine Current page @@50", // op 4350 "JMS @@51 ;Jump to subroutine Current page @@51", // op 4351 "JMS @@52 ;Jump to subroutine Current page @@52", // op 4352 "JMS @@53 ;Jump to subroutine Current page @@53", // op 4353 "JMS @@54 ;Jump to subroutine Current page @@54", // op 4354 "JMS @@55 ;Jump to subroutine Current page @@55", // op 4355 "JMS @@56 ;Jump to subroutine Current page @@56", // op 4356 "JMS @@57 ;Jump to subroutine Current page @@57", // op 4357 "JMS @@60 ;Jump to subroutine Current page @@60", // op 4360 "JMS @@61 ;Jump to subroutine Current page @@61", // op 4361 "JMS @@62 ;Jump to subroutine Current page @@62", // op 4362 "JMS @@63 ;Jump to subroutine Current page @@63", // op 4363 "JMS @@64 ;Jump to subroutine Current page @@64", // op 4364 "JMS @@65 ;Jump to subroutine Current page @@65", // op 4365 "JMS @@66 ;Jump to subroutine Current page @@66", // op 4366 "JMS @@67 ;Jump to subroutine Current page @@67", // op 4367 "JMS @@70 ;Jump to subroutine Current page @@70", // op 4370 "JMS @@71 ;Jump to subroutine Current page @@71", // op 4371 "JMS @@72 ;Jump to subroutine Current page @@72", // op 4372 "JMS @@73 ;Jump to subroutine Current page @@73", // op 4373 "JMS @@74 ;Jump to subroutine Current page @@74", // op 4374 "JMS @@75 ;Jump to subroutine Current page @@75", // op 4375 "JMS @@76 ;Jump to subroutine Current page @@76", // op 4376 "JMS @@77 ;Jump to subroutine Current page @@77", // op 4377 "JMS I 0000 ;Jump to subroutine Indexed ZP 0000", // op 4400 "JMS I 0001 ;Jump to subroutine Indexed ZP 0001", // op 4401 "JMS I 0002 ;Jump to subroutine Indexed ZP 0002", // op 4402 "JMS I 0003 ;Jump to subroutine Indexed ZP 0003", // op 4403 "JMS I 0004 ;Jump to subroutine Indexed ZP 0004", // op 4404 "JMS I 0005 ;Jump to subroutine Indexed ZP 0005", // op 4405 "JMS I 0006 ;Jump to subroutine Indexed ZP 0006", // op 4406 "JMS I 0007 ;Jump to subroutine Indexed ZP 0007", // op 4407 "JMS I 0010 ;Jump to subroutine Indexed ZP 0010 [Auto pre-inc]", // op 4410 "JMS I 0011 ;Jump to subroutine Indexed ZP 0011 [Auto pre-inc]", // op 4411 "JMS I 0012 ;Jump to subroutine Indexed ZP 0012 [Auto pre-inc]", // op 4412 "JMS I 0013 ;Jump to subroutine Indexed ZP 0013 [Auto pre-inc]", // op 4413 "JMS I 0014 ;Jump to subroutine Indexed ZP 0014 [Auto pre-inc]", // op 4414 "JMS I 0015 ;Jump to subroutine Indexed ZP 0015 [Auto pre-inc]", // op 4415 "JMS I 0016 ;Jump to subroutine Indexed ZP 0016 [Auto pre-inc]", // op 4416 "JMS I 0017 ;Jump to subroutine Indexed ZP 0017 [Auto pre-inc]", // op 4417 "JMS I 0020 ;Jump to subroutine Indexed ZP 0020", // op 4420 "JMS I 0021 ;Jump to subroutine Indexed ZP 0021", // op 4421 "JMS I 0022 ;Jump to subroutine Indexed ZP 0022", // op 4422 "JMS I 0023 ;Jump to subroutine Indexed ZP 0023", // op 4423 "JMS I 0024 ;Jump to subroutine Indexed ZP 0024", // op 4424 "JMS I 0025 ;Jump to subroutine Indexed ZP 0025", // op 4425 "JMS I 0026 ;Jump to subroutine Indexed ZP 0026", // op 4426 "JMS I 0027 ;Jump to subroutine Indexed ZP 0027", // op 4427 "JMS I 0030 ;Jump to subroutine Indexed ZP 0030", // op 4430 "JMS I 0031 ;Jump to subroutine Indexed ZP 0031", // op 4431 "JMS I 0032 ;Jump to subroutine Indexed ZP 0032", // op 4432 "JMS I 0033 ;Jump to subroutine Indexed ZP 0033", // op 4433 "JMS I 0034 ;Jump to subroutine Indexed ZP 0034", // op 4434 "JMS I 0035 ;Jump to subroutine Indexed ZP 0035", // op 4435 "JMS I 0036 ;Jump to subroutine Indexed ZP 0036", // op 4436 "JMS I 0037 ;Jump to subroutine Indexed ZP 0037", // op 4437 "JMS I 0040 ;Jump to subroutine Indexed ZP 0040", // op 4440 "JMS I 0041 ;Jump to subroutine Indexed ZP 0041", // op 4441 "JMS I 0042 ;Jump to subroutine Indexed ZP 0042", // op 4442 "JMS I 0043 ;Jump to subroutine Indexed ZP 0043", // op 4443 "JMS I 0044 ;Jump to subroutine Indexed ZP 0044", // op 4444 "JMS I 0045 ;Jump to subroutine Indexed ZP 0045", // op 4445 "JMS I 0046 ;Jump to subroutine Indexed ZP 0046", // op 4446 "JMS I 0047 ;Jump to subroutine Indexed ZP 0047", // op 4447 "JMS I 0050 ;Jump to subroutine Indexed ZP 0050", // op 4450 "JMS I 0051 ;Jump to subroutine Indexed ZP 0051", // op 4451 "JMS I 0052 ;Jump to subroutine Indexed ZP 0052", // op 4452 "JMS I 0053 ;Jump to subroutine Indexed ZP 0053", // op 4453 "JMS I 0054 ;Jump to subroutine Indexed ZP 0054", // op 4454 "JMS I 0055 ;Jump to subroutine Indexed ZP 0055", // op 4455 "JMS I 0056 ;Jump to subroutine Indexed ZP 0056", // op 4456 "JMS I 0057 ;Jump to subroutine Indexed ZP 0057", // op 4457 "JMS I 0060 ;Jump to subroutine Indexed ZP 0060", // op 4460 "JMS I 0061 ;Jump to subroutine Indexed ZP 0061", // op 4461 "JMS I 0062 ;Jump to subroutine Indexed ZP 0062", // op 4462 "JMS I 0063 ;Jump to subroutine Indexed ZP 0063", // op 4463 "JMS I 0064 ;Jump to subroutine Indexed ZP 0064", // op 4464 "JMS I 0065 ;Jump to subroutine Indexed ZP 0065", // op 4465 "JMS I 0066 ;Jump to subroutine Indexed ZP 0066", // op 4466 "JMS I 0067 ;Jump to subroutine Indexed ZP 0067", // op 4467 "JMS I 0070 ;Jump to subroutine Indexed ZP 0070", // op 4470 "JMS I 0071 ;Jump to subroutine Indexed ZP 0071", // op 4471 "JMS I 0072 ;Jump to subroutine Indexed ZP 0072", // op 4472 "JMS I 0073 ;Jump to subroutine Indexed ZP 0073", // op 4473 "JMS I 0074 ;Jump to subroutine Indexed ZP 0074", // op 4474 "JMS I 0075 ;Jump to subroutine Indexed ZP 0075", // op 4475 "JMS I 0076 ;Jump to subroutine Indexed ZP 0076", // op 4476 "JMS I 0077 ;Jump to subroutine Indexed ZP 0077", // op 4477 "JMS I 0100 ;Jump to subroutine Indexed ZP 0100", // op 4500 "JMS I 0101 ;Jump to subroutine Indexed ZP 0101", // op 4501 "JMS I 0102 ;Jump to subroutine Indexed ZP 0102", // op 4502 "JMS I 0103 ;Jump to subroutine Indexed ZP 0103", // op 4503 "JMS I 0104 ;Jump to subroutine Indexed ZP 0104", // op 4504 "JMS I 0105 ;Jump to subroutine Indexed ZP 0105", // op 4505 "JMS I 0106 ;Jump to subroutine Indexed ZP 0106", // op 4506 "JMS I 0107 ;Jump to subroutine Indexed ZP 0107", // op 4507 "JMS I 0110 ;Jump to subroutine Indexed ZP 0110", // op 4510 "JMS I 0111 ;Jump to subroutine Indexed ZP 0111", // op 4511 "JMS I 0112 ;Jump to subroutine Indexed ZP 0112", // op 4512 "JMS I 0113 ;Jump to subroutine Indexed ZP 0113", // op 4513 "JMS I 0114 ;Jump to subroutine Indexed ZP 0114", // op 4514 "JMS I 0115 ;Jump to subroutine Indexed ZP 0115", // op 4515 "JMS I 0116 ;Jump to subroutine Indexed ZP 0116", // op 4516 "JMS I 0117 ;Jump to subroutine Indexed ZP 0117", // op 4517 "JMS I 0120 ;Jump to subroutine Indexed ZP 0120", // op 4520 "JMS I 0121 ;Jump to subroutine Indexed ZP 0121", // op 4521 "JMS I 0122 ;Jump to subroutine Indexed ZP 0122", // op 4522 "JMS I 0123 ;Jump to subroutine Indexed ZP 0123", // op 4523 "JMS I 0124 ;Jump to subroutine Indexed ZP 0124", // op 4524 "JMS I 0125 ;Jump to subroutine Indexed ZP 0125", // op 4525 "JMS I 0126 ;Jump to subroutine Indexed ZP 0126", // op 4526 "JMS I 0127 ;Jump to subroutine Indexed ZP 0127", // op 4527 "JMS I 0130 ;Jump to subroutine Indexed ZP 0130", // op 4530 "JMS I 0131 ;Jump to subroutine Indexed ZP 0131", // op 4531 "JMS I 0132 ;Jump to subroutine Indexed ZP 0132", // op 4532 "JMS I 0133 ;Jump to subroutine Indexed ZP 0133", // op 4533 "JMS I 0134 ;Jump to subroutine Indexed ZP 0134", // op 4534 "JMS I 0135 ;Jump to subroutine Indexed ZP 0135", // op 4535 "JMS I 0136 ;Jump to subroutine Indexed ZP 0136", // op 4536 "JMS I 0137 ;Jump to subroutine Indexed ZP 0137", // op 4537 "JMS I 0140 ;Jump to subroutine Indexed ZP 0140", // op 4540 "JMS I 0141 ;Jump to subroutine Indexed ZP 0141", // op 4541 "JMS I 0142 ;Jump to subroutine Indexed ZP 0142", // op 4542 "JMS I 0143 ;Jump to subroutine Indexed ZP 0143", // op 4543 "JMS I 0144 ;Jump to subroutine Indexed ZP 0144", // op 4544 "JMS I 0145 ;Jump to subroutine Indexed ZP 0145", // op 4545 "JMS I 0146 ;Jump to subroutine Indexed ZP 0146", // op 4546 "JMS I 0147 ;Jump to subroutine Indexed ZP 0147", // op 4547 "JMS I 0150 ;Jump to subroutine Indexed ZP 0150", // op 4550 "JMS I 0151 ;Jump to subroutine Indexed ZP 0151", // op 4551 "JMS I 0152 ;Jump to subroutine Indexed ZP 0152", // op 4552 "JMS I 0153 ;Jump to subroutine Indexed ZP 0153", // op 4553 "JMS I 0154 ;Jump to subroutine Indexed ZP 0154", // op 4554 "JMS I 0155 ;Jump to subroutine Indexed ZP 0155", // op 4555 "JMS I 0156 ;Jump to subroutine Indexed ZP 0156", // op 4556 "JMS I 0157 ;Jump to subroutine Indexed ZP 0157", // op 4557 "JMS I 0160 ;Jump to subroutine Indexed ZP 0160", // op 4560 "JMS I 0161 ;Jump to subroutine Indexed ZP 0161", // op 4561 "JMS I 0162 ;Jump to subroutine Indexed ZP 0162", // op 4562 "JMS I 0163 ;Jump to subroutine Indexed ZP 0163", // op 4563 "JMS I 0164 ;Jump to subroutine Indexed ZP 0164", // op 4564 "JMS I 0165 ;Jump to subroutine Indexed ZP 0165", // op 4565 "JMS I 0166 ;Jump to subroutine Indexed ZP 0166", // op 4566 "JMS I 0167 ;Jump to subroutine Indexed ZP 0167", // op 4567 "JMS I 0170 ;Jump to subroutine Indexed ZP 0170", // op 4570 "JMS I 0171 ;Jump to subroutine Indexed ZP 0171", // op 4571 "JMS I 0172 ;Jump to subroutine Indexed ZP 0172", // op 4572 "JMS I 0173 ;Jump to subroutine Indexed ZP 0173", // op 4573 "JMS I 0174 ;Jump to subroutine Indexed ZP 0174", // op 4574 "JMS I 0175 ;Jump to subroutine Indexed ZP 0175", // op 4575 "JMS I 0176 ;Jump to subroutine Indexed ZP 0176", // op 4576 "JMS I 0177 ;Jump to subroutine Indexed ZP 0177", // op 4577 "JMS I @@00 ;Jump to subroutine Indexed Current page @@00", // op 4600 "JMS I @@01 ;Jump to subroutine Indexed Current page @@01", // op 4601 "JMS I @@02 ;Jump to subroutine Indexed Current page @@02", // op 4602 "JMS I @@03 ;Jump to subroutine Indexed Current page @@03", // op 4603 "JMS I @@04 ;Jump to subroutine Indexed Current page @@04", // op 4604 "JMS I @@05 ;Jump to subroutine Indexed Current page @@05", // op 4605 "JMS I @@06 ;Jump to subroutine Indexed Current page @@06", // op 4606 "JMS I @@07 ;Jump to subroutine Indexed Current page @@07", // op 4607 "JMS I @@10 ;Jump to subroutine Indexed Current page @@10", // op 4610 "JMS I @@11 ;Jump to subroutine Indexed Current page @@11", // op 4611 "JMS I @@12 ;Jump to subroutine Indexed Current page @@12", // op 4612 "JMS I @@13 ;Jump to subroutine Indexed Current page @@13", // op 4613 "JMS I @@14 ;Jump to subroutine Indexed Current page @@14", // op 4614 "JMS I @@15 ;Jump to subroutine Indexed Current page @@15", // op 4615 "JMS I @@16 ;Jump to subroutine Indexed Current page @@16", // op 4616 "JMS I @@17 ;Jump to subroutine Indexed Current page @@17", // op 4617 "JMS I @@20 ;Jump to subroutine Indexed Current page @@20", // op 4620 "JMS I @@21 ;Jump to subroutine Indexed Current page @@21", // op 4621 "JMS I @@22 ;Jump to subroutine Indexed Current page @@22", // op 4622 "JMS I @@23 ;Jump to subroutine Indexed Current page @@23", // op 4623 "JMS I @@24 ;Jump to subroutine Indexed Current page @@24", // op 4624 "JMS I @@25 ;Jump to subroutine Indexed Current page @@25", // op 4625 "JMS I @@26 ;Jump to subroutine Indexed Current page @@26", // op 4626 "JMS I @@27 ;Jump to subroutine Indexed Current page @@27", // op 4627 "JMS I @@30 ;Jump to subroutine Indexed Current page @@30", // op 4630 "JMS I @@31 ;Jump to subroutine Indexed Current page @@31", // op 4631 "JMS I @@32 ;Jump to subroutine Indexed Current page @@32", // op 4632 "JMS I @@33 ;Jump to subroutine Indexed Current page @@33", // op 4633 "JMS I @@34 ;Jump to subroutine Indexed Current page @@34", // op 4634 "JMS I @@35 ;Jump to subroutine Indexed Current page @@35", // op 4635 "JMS I @@36 ;Jump to subroutine Indexed Current page @@36", // op 4636 "JMS I @@37 ;Jump to subroutine Indexed Current page @@37", // op 4637 "JMS I @@40 ;Jump to subroutine Indexed Current page @@40", // op 4640 "JMS I @@41 ;Jump to subroutine Indexed Current page @@41", // op 4641 "JMS I @@42 ;Jump to subroutine Indexed Current page @@42", // op 4642 "JMS I @@43 ;Jump to subroutine Indexed Current page @@43", // op 4643 "JMS I @@44 ;Jump to subroutine Indexed Current page @@44", // op 4644 "JMS I @@45 ;Jump to subroutine Indexed Current page @@45", // op 4645 "JMS I @@46 ;Jump to subroutine Indexed Current page @@46", // op 4646 "JMS I @@47 ;Jump to subroutine Indexed Current page @@47", // op 4647 "JMS I @@50 ;Jump to subroutine Indexed Current page @@50", // op 4650 "JMS I @@51 ;Jump to subroutine Indexed Current page @@51", // op 4651 "JMS I @@52 ;Jump to subroutine Indexed Current page @@52", // op 4652 "JMS I @@53 ;Jump to subroutine Indexed Current page @@53", // op 4653 "JMS I @@54 ;Jump to subroutine Indexed Current page @@54", // op 4654 "JMS I @@55 ;Jump to subroutine Indexed Current page @@55", // op 4655 "JMS I @@56 ;Jump to subroutine Indexed Current page @@56", // op 4656 "JMS I @@57 ;Jump to subroutine Indexed Current page @@57", // op 4657 "JMS I @@60 ;Jump to subroutine Indexed Current page @@60", // op 4660 "JMS I @@61 ;Jump to subroutine Indexed Current page @@61", // op 4661 "JMS I @@62 ;Jump to subroutine Indexed Current page @@62", // op 4662 "JMS I @@63 ;Jump to subroutine Indexed Current page @@63", // op 4663 "JMS I @@64 ;Jump to subroutine Indexed Current page @@64", // op 4664 "JMS I @@65 ;Jump to subroutine Indexed Current page @@65", // op 4665 "JMS I @@66 ;Jump to subroutine Indexed Current page @@66", // op 4666 "JMS I @@67 ;Jump to subroutine Indexed Current page @@67", // op 4667 "JMS I @@70 ;Jump to subroutine Indexed Current page @@70", // op 4670 "JMS I @@71 ;Jump to subroutine Indexed Current page @@71", // op 4671 "JMS I @@72 ;Jump to subroutine Indexed Current page @@72", // op 4672 "JMS I @@73 ;Jump to subroutine Indexed Current page @@73", // op 4673 "JMS I @@74 ;Jump to subroutine Indexed Current page @@74", // op 4674 "JMS I @@75 ;Jump to subroutine Indexed Current page @@75", // op 4675 "JMS I @@76 ;Jump to subroutine Indexed Current page @@76", // op 4676 "JMS I @@77 ;Jump to subroutine Indexed Current page @@77", // op 4677 "JMS I @@00 ;Jump to subroutine Indexed Current page @@00", // op 4700 "JMS I @@01 ;Jump to subroutine Indexed Current page @@01", // op 4701 "JMS I @@02 ;Jump to subroutine Indexed Current page @@02", // op 4702 "JMS I @@03 ;Jump to subroutine Indexed Current page @@03", // op 4703 "JMS I @@04 ;Jump to subroutine Indexed Current page @@04", // op 4704 "JMS I @@05 ;Jump to subroutine Indexed Current page @@05", // op 4705 "JMS I @@06 ;Jump to subroutine Indexed Current page @@06", // op 4706 "JMS I @@07 ;Jump to subroutine Indexed Current page @@07", // op 4707 "JMS I @@10 ;Jump to subroutine Indexed Current page @@10", // op 4710 "JMS I @@11 ;Jump to subroutine Indexed Current page @@11", // op 4711 "JMS I @@12 ;Jump to subroutine Indexed Current page @@12", // op 4712 "JMS I @@13 ;Jump to subroutine Indexed Current page @@13", // op 4713 "JMS I @@14 ;Jump to subroutine Indexed Current page @@14", // op 4714 "JMS I @@15 ;Jump to subroutine Indexed Current page @@15", // op 4715 "JMS I @@16 ;Jump to subroutine Indexed Current page @@16", // op 4716 "JMS I @@17 ;Jump to subroutine Indexed Current page @@17", // op 4717 "JMS I @@20 ;Jump to subroutine Indexed Current page @@20", // op 4720 "JMS I @@21 ;Jump to subroutine Indexed Current page @@21", // op 4721 "JMS I @@22 ;Jump to subroutine Indexed Current page @@22", // op 4722 "JMS I @@23 ;Jump to subroutine Indexed Current page @@23", // op 4723 "JMS I @@24 ;Jump to subroutine Indexed Current page @@24", // op 4724 "JMS I @@25 ;Jump to subroutine Indexed Current page @@25", // op 4725 "JMS I @@26 ;Jump to subroutine Indexed Current page @@26", // op 4726 "JMS I @@27 ;Jump to subroutine Indexed Current page @@27", // op 4727 "JMS I @@30 ;Jump to subroutine Indexed Current page @@30", // op 4730 "JMS I @@31 ;Jump to subroutine Indexed Current page @@31", // op 4731 "JMS I @@32 ;Jump to subroutine Indexed Current page @@32", // op 4732 "JMS I @@33 ;Jump to subroutine Indexed Current page @@33", // op 4733 "JMS I @@34 ;Jump to subroutine Indexed Current page @@34", // op 4734 "JMS I @@35 ;Jump to subroutine Indexed Current page @@35", // op 4735 "JMS I @@36 ;Jump to subroutine Indexed Current page @@36", // op 4736 "JMS I @@37 ;Jump to subroutine Indexed Current page @@37", // op 4737 "JMS I @@40 ;Jump to subroutine Indexed Current page @@40", // op 4740 "JMS I @@41 ;Jump to subroutine Indexed Current page @@41", // op 4741 "JMS I @@42 ;Jump to subroutine Indexed Current page @@42", // op 4742 "JMS I @@43 ;Jump to subroutine Indexed Current page @@43", // op 4743 "JMS I @@44 ;Jump to subroutine Indexed Current page @@44", // op 4744 "JMS I @@45 ;Jump to subroutine Indexed Current page @@45", // op 4745 "JMS I @@46 ;Jump to subroutine Indexed Current page @@46", // op 4746 "JMS I @@47 ;Jump to subroutine Indexed Current page @@47", // op 4747 "JMS I @@50 ;Jump to subroutine Indexed Current page @@50", // op 4750 "JMS I @@51 ;Jump to subroutine Indexed Current page @@51", // op 4751 "JMS I @@52 ;Jump to subroutine Indexed Current page @@52", // op 4752 "JMS I @@53 ;Jump to subroutine Indexed Current page @@53", // op 4753 "JMS I @@54 ;Jump to subroutine Indexed Current page @@54", // op 4754 "JMS I @@55 ;Jump to subroutine Indexed Current page @@55", // op 4755 "JMS I @@56 ;Jump to subroutine Indexed Current page @@56", // op 4756 "JMS I @@57 ;Jump to subroutine Indexed Current page @@57", // op 4757 "JMS I @@60 ;Jump to subroutine Indexed Current page @@60", // op 4760 "JMS I @@61 ;Jump to subroutine Indexed Current page @@61", // op 4761 "JMS I @@62 ;Jump to subroutine Indexed Current page @@62", // op 4762 "JMS I @@63 ;Jump to subroutine Indexed Current page @@63", // op 4763 "JMS I @@64 ;Jump to subroutine Indexed Current page @@64", // op 4764 "JMS I @@65 ;Jump to subroutine Indexed Current page @@65", // op 4765 "JMS I @@66 ;Jump to subroutine Indexed Current page @@66", // op 4766 "JMS I @@67 ;Jump to subroutine Indexed Current page @@67", // op 4767 "JMS I @@70 ;Jump to subroutine Indexed Current page @@70", // op 4770 "JMS I @@71 ;Jump to subroutine Indexed Current page @@71", // op 4771 "JMS I @@72 ;Jump to subroutine Indexed Current page @@72", // op 4772 "JMS I @@73 ;Jump to subroutine Indexed Current page @@73", // op 4773 "JMS I @@74 ;Jump to subroutine Indexed Current page @@74", // op 4774 "JMS I @@75 ;Jump to subroutine Indexed Current page @@75", // op 4775 "JMS I @@76 ;Jump to subroutine Indexed Current page @@76", // op 4776 "JMS I @@77 ;Jump to subroutine Indexed Current page @@77", // op 4777 "JMP 0000 ;Jump ZP 0000 ", // op 5000 "JMP 0001 ;Jump ZP 0001", // op 5001 "JMP 0002 ;Jump ZP 0002", // op 5002 "JMP 0003 ;Jump ZP 0003", // op 5003 "JMP 0004 ;Jump ZP 0004", // op 5004 "JMP 0005 ;Jump ZP 0005", // op 5005 "JMP 0006 ;Jump ZP 0006", // op 5006 "JMP 0007 ;Jump ZP 0007", // op 5007 "JMP 0010 ;Jump ZP 0010", // op 5010 "JMP 0011 ;Jump ZP 0011", // op 5011 "JMP 0012 ;Jump ZP 0012", // op 5012 "JMP 0013 ;Jump ZP 0013", // op 5013 "JMP 0014 ;Jump ZP 0014", // op 5014 "JMP 0015 ;Jump ZP 0015", // op 5015 "JMP 0016 ;Jump ZP 0016", // op 5016 "JMP 0017 ;Jump ZP 0017", // op 5017 "JMP 0020 ;Jump ZP 0020", // op 5020 "JMP 0021 ;Jump ZP 0021", // op 5021 "JMP 0022 ;Jump ZP 0022", // op 5022 "JMP 0023 ;Jump ZP 0023", // op 5023 "JMP 0024 ;Jump ZP 0024", // op 5024 "JMP 0025 ;Jump ZP 0025", // op 5025 "JMP 0026 ;Jump ZP 0026", // op 5026 "JMP 0027 ;Jump ZP 0027", // op 5027 "JMP 0030 ;Jump ZP 0030", // op 5030 "JMP 0031 ;Jump ZP 0031", // op 5031 "JMP 0032 ;Jump ZP 0032", // op 5032 "JMP 0033 ;Jump ZP 0033", // op 5033 "JMP 0034 ;Jump ZP 0034", // op 5034 "JMP 0035 ;Jump ZP 0035", // op 5035 "JMP 0036 ;Jump ZP 0036", // op 5036 "JMP 0037 ;Jump ZP 0037", // op 5037 "JMP 0040 ;Jump ZP 0040", // op 5040 "JMP 0041 ;Jump ZP 0041", // op 5041 "JMP 0042 ;Jump ZP 0042", // op 5042 "JMP 0043 ;Jump ZP 0043", // op 5043 "JMP 0044 ;Jump ZP 0044", // op 5044 "JMP 0045 ;Jump ZP 0045", // op 5045 "JMP 0046 ;Jump ZP 0046", // op 5046 "JMP 0047 ;Jump ZP 0047", // op 5047 "JMP 0050 ;Jump ZP 0050", // op 5050 "JMP 0051 ;Jump ZP 0051", // op 5051 "JMP 0052 ;Jump ZP 0052", // op 5052 "JMP 0053 ;Jump ZP 0053", // op 5053 "JMP 0054 ;Jump ZP 0054", // op 5054 "JMP 0055 ;Jump ZP 0055", // op 5055 "JMP 0056 ;Jump ZP 0056", // op 5056 "JMP 0057 ;Jump ZP 0057", // op 5057 "JMP 0060 ;Jump ZP 0060", // op 5060 "JMP 0061 ;Jump ZP 0061", // op 5061 "JMP 0062 ;Jump ZP 0062", // op 5062 "JMP 0063 ;Jump ZP 0063", // op 5063 "JMP 0064 ;Jump ZP 0064", // op 5064 "JMP 0065 ;Jump ZP 0065", // op 5065 "JMP 0066 ;Jump ZP 0066", // op 5066 "JMP 0067 ;Jump ZP 0067", // op 5067 "JMP 0070 ;Jump ZP 0070", // op 5070 "JMP 0071 ;Jump ZP 0071", // op 5071 "JMP 0072 ;Jump ZP 0072", // op 5072 "JMP 0073 ;Jump ZP 0073", // op 5073 "JMP 0074 ;Jump ZP 0074", // op 5074 "JMP 0075 ;Jump ZP 0075", // op 5075 "JMP 0076 ;Jump ZP 0076", // op 5076 "JMP 0077 ;Jump ZP 0077", // op 5077 "JMP 0100 ;Jump ZP 0100", // op 5100 "JMP 0101 ;Jump ZP 0101", // op 5101 "JMP 0102 ;Jump ZP 0102", // op 5102 "JMP 0103 ;Jump ZP 0103", // op 5103 "JMP 0104 ;Jump ZP 0104", // op 5104 "JMP 0105 ;Jump ZP 0105", // op 5105 "JMP 0106 ;Jump ZP 0106", // op 5106 "JMP 0107 ;Jump ZP 0107", // op 5107 "JMP 0110 ;Jump ZP 0110", // op 5110 "JMP 0111 ;Jump ZP 0111", // op 5111 "JMP 0112 ;Jump ZP 0112", // op 5112 "JMP 0113 ;Jump ZP 0113", // op 5113 "JMP 0114 ;Jump ZP 0114", // op 5114 "JMP 0115 ;Jump ZP 0115", // op 5115 "JMP 0116 ;Jump ZP 0116", // op 5116 "JMP 0117 ;Jump ZP 0117", // op 5117 "JMP 0120 ;Jump ZP 0120", // op 5120 "JMP 0121 ;Jump ZP 0121", // op 5121 "JMP 0122 ;Jump ZP 0122", // op 5122 "JMP 0123 ;Jump ZP 0123", // op 5123 "JMP 0124 ;Jump ZP 0124", // op 5124 "JMP 0125 ;Jump ZP 0125", // op 5125 "JMP 0126 ;Jump ZP 0126", // op 5126 "JMP 0127 ;Jump ZP 0127", // op 5127 "JMP 0130 ;Jump ZP 0130", // op 5130 "JMP 0131 ;Jump ZP 0131", // op 5131 "JMP 0132 ;Jump ZP 0132", // op 5132 "JMP 0133 ;Jump ZP 0133", // op 5133 "JMP 0134 ;Jump ZP 0134", // op 5134 "JMP 0135 ;Jump ZP 0135", // op 5135 "JMP 0136 ;Jump ZP 0136", // op 5136 "JMP 0137 ;Jump ZP 0137", // op 5137 "JMP 0140 ;Jump ZP 0140", // op 5140 "JMP 0141 ;Jump ZP 0141", // op 5141 "JMP 0142 ;Jump ZP 0142", // op 5142 "JMP 0143 ;Jump ZP 0143", // op 5143 "JMP 0144 ;Jump ZP 0144", // op 5144 "JMP 0145 ;Jump ZP 0145", // op 5145 "JMP 0146 ;Jump ZP 0146", // op 5146 "JMP 0147 ;Jump ZP 0147", // op 5147 "JMP 0150 ;Jump ZP 0150", // op 5150 "JMP 0151 ;Jump ZP 0151", // op 5151 "JMP 0152 ;Jump ZP 0152", // op 5152 "JMP 0153 ;Jump ZP 0153", // op 5153 "JMP 0154 ;Jump ZP 0154", // op 5154 "JMP 0155 ;Jump ZP 0155", // op 5155 "JMP 0156 ;Jump ZP 0156", // op 5156 "JMP 0157 ;Jump ZP 0157", // op 5157 "JMP 0160 ;Jump ZP 0160", // op 5160 "JMP 0161 ;Jump ZP 0161", // op 5161 "JMP 0162 ;Jump ZP 0162", // op 5162 "JMP 0163 ;Jump ZP 0163", // op 5163 "JMP 0164 ;Jump ZP 0164", // op 5164 "JMP 0165 ;Jump ZP 0165", // op 5165 "JMP 0166 ;Jump ZP 0166", // op 5166 "JMP 0167 ;Jump ZP 0167", // op 5167 "JMP 0170 ;Jump ZP 0170", // op 5170 "JMP 0171 ;Jump ZP 0171", // op 5171 "JMP 0172 ;Jump ZP 0172", // op 5172 "JMP 0173 ;Jump ZP 0173", // op 5173 "JMP 0174 ;Jump ZP 0174", // op 5174 "JMP 0175 ;Jump ZP 0175", // op 5175 "JMP 0176 ;Jump ZP 0176", // op 5176 "JMP 0177 ;Jump ZP 0177", // op 5177 "JMP @@00 ;Jump Current page @@00", // op 5200 "JMP @@01 ;Jump Current page @@01", // op 5201 "JMP @@02 ;Jump Current page @@02", // op 5202 "JMP @@03 ;Jump Current page @@03", // op 5203 "JMP @@04 ;Jump Current page @@04", // op 5204 "JMP @@05 ;Jump Current page @@05", // op 5205 "JMP @@06 ;Jump Current page @@06", // op 5206 "JMP @@07 ;Jump Current page @@07", // op 5207 "JMP @@10 ;Jump Current page @@10", // op 5210 "JMP @@11 ;Jump Current page @@11", // op 5211 "JMP @@12 ;Jump Current page @@12", // op 5212 "JMP @@13 ;Jump Current page @@13", // op 5213 "JMP @@14 ;Jump Current page @@14", // op 5214 "JMP @@15 ;Jump Current page @@15", // op 5215 "JMP @@16 ;Jump Current page @@16", // op 5216 "JMP @@17 ;Jump Current page @@17", // op 5217 "JMP @@20 ;Jump Current page @@20", // op 5220 "JMP @@21 ;Jump Current page @@21", // op 5221 "JMP @@22 ;Jump Current page @@22", // op 5222 "JMP @@23 ;Jump Current page @@23", // op 5223 "JMP @@24 ;Jump Current page @@24", // op 5224 "JMP @@25 ;Jump Current page @@25", // op 5225 "JMP @@26 ;Jump Current page @@26", // op 5226 "JMP @@27 ;Jump Current page @@27", // op 5227 "JMP @@30 ;Jump Current page @@30", // op 5230 "JMP @@31 ;Jump Current page @@31", // op 5231 "JMP @@32 ;Jump Current page @@32", // op 5232 "JMP @@33 ;Jump Current page @@33", // op 5233 "JMP @@34 ;Jump Current page @@34", // op 5234 "JMP @@35 ;Jump Current page @@35", // op 5235 "JMP @@36 ;Jump Current page @@36", // op 5236 "JMP @@37 ;Jump Current page @@37", // op 5237 "JMP @@40 ;Jump Current page @@40", // op 5240 "JMP @@41 ;Jump Current page @@41", // op 5241 "JMP @@42 ;Jump Current page @@42", // op 5242 "JMP @@43 ;Jump Current page @@43", // op 5243 "JMP @@44 ;Jump Current page @@44", // op 5244 "JMP @@45 ;Jump Current page @@45", // op 5245 "JMP @@46 ;Jump Current page @@46", // op 5246 "JMP @@47 ;Jump Current page @@47", // op 5247 "JMP @@50 ;Jump Current page @@50", // op 5250 "JMP @@51 ;Jump Current page @@51", // op 5251 "JMP @@52 ;Jump Current page @@52", // op 5252 "JMP @@53 ;Jump Current page @@53", // op 5253 "JMP @@54 ;Jump Current page @@54", // op 5254 "JMP @@55 ;Jump Current page @@55", // op 5255 "JMP @@56 ;Jump Current page @@56", // op 5256 "JMP @@57 ;Jump Current page @@57", // op 5257 "JMP @@60 ;Jump Current page @@60", // op 5260 "JMP @@61 ;Jump Current page @@61", // op 5261 "JMP @@62 ;Jump Current page @@62", // op 5262 "JMP @@63 ;Jump Current page @@63", // op 5263 "JMP @@64 ;Jump Current page @@64", // op 5264 "JMP @@65 ;Jump Current page @@65", // op 5265 "JMP @@66 ;Jump Current page @@66", // op 5266 "JMP @@67 ;Jump Current page @@67", // op 5267 "JMP @@70 ;Jump Current page @@70", // op 5270 "JMP @@71 ;Jump Current page @@71", // op 5271 "JMP @@72 ;Jump Current page @@72", // op 5272 "JMP @@73 ;Jump Current page @@73", // op 5273 "JMP @@74 ;Jump Current page @@74", // op 5274 "JMP @@75 ;Jump Current page @@75", // op 5275 "JMP @@76 ;Jump Current page @@76", // op 5276 "JMP @@77 ;Jump Current page @@77", // op 5277 "JMP @@00 ;Jump Current page @@00", // op 5300 "JMP @@01 ;Jump Current page @@01", // op 5301 "JMP @@02 ;Jump Current page @@02", // op 5302 "JMP @@03 ;Jump Current page @@03", // op 5303 "JMP @@04 ;Jump Current page @@04", // op 5304 "JMP @@05 ;Jump Current page @@05", // op 5305 "JMP @@06 ;Jump Current page @@06", // op 5306 "JMP @@07 ;Jump Current page @@07", // op 5307 "JMP @@10 ;Jump Current page @@10", // op 5310 "JMP @@11 ;Jump Current page @@11", // op 5311 "JMP @@12 ;Jump Current page @@12", // op 5312 "JMP @@13 ;Jump Current page @@13", // op 5313 "JMP @@14 ;Jump Current page @@14", // op 5314 "JMP @@15 ;Jump Current page @@15", // op 5315 "JMP @@16 ;Jump Current page @@16", // op 5316 "JMP @@17 ;Jump Current page @@17", // op 5317 "JMP @@20 ;Jump Current page @@20", // op 5320 "JMP @@21 ;Jump Current page @@21", // op 5321 "JMP @@22 ;Jump Current page @@22", // op 5322 "JMP @@23 ;Jump Current page @@23", // op 5323 "JMP @@24 ;Jump Current page @@24", // op 5324 "JMP @@25 ;Jump Current page @@25", // op 5325 "JMP @@26 ;Jump Current page @@26", // op 5326 "JMP @@27 ;Jump Current page @@27", // op 5327 "JMP @@30 ;Jump Current page @@30", // op 5330 "JMP @@31 ;Jump Current page @@31", // op 5331 "JMP @@32 ;Jump Current page @@32", // op 5332 "JMP @@33 ;Jump Current page @@33", // op 5333 "JMP @@34 ;Jump Current page @@34", // op 5334 "JMP @@35 ;Jump Current page @@35", // op 5335 "JMP @@36 ;Jump Current page @@36", // op 5336 "JMP @@37 ;Jump Current page @@37", // op 5337 "JMP @@40 ;Jump Current page @@40", // op 5340 "JMP @@41 ;Jump Current page @@41", // op 5341 "JMP @@42 ;Jump Current page @@42", // op 5342 "JMP @@43 ;Jump Current page @@43", // op 5343 "JMP @@44 ;Jump Current page @@44", // op 5344 "JMP @@45 ;Jump Current page @@45", // op 5345 "JMP @@46 ;Jump Current page @@46", // op 5346 "JMP @@47 ;Jump Current page @@47", // op 5347 "JMP @@50 ;Jump Current page @@50", // op 5350 "JMP @@51 ;Jump Current page @@51", // op 5351 "JMP @@52 ;Jump Current page @@52", // op 5352 "JMP @@53 ;Jump Current page @@53", // op 5353 "JMP @@54 ;Jump Current page @@54", // op 5354 "JMP @@55 ;Jump Current page @@55", // op 5355 "JMP @@56 ;Jump Current page @@56", // op 5356 "JMP @@57 ;Jump Current page @@57", // op 5357 "JMP @@60 ;Jump Current page @@60", // op 5360 "JMP @@61 ;Jump Current page @@61", // op 5361 "JMP @@62 ;Jump Current page @@62", // op 5362 "JMP @@63 ;Jump Current page @@63", // op 5363 "JMP @@64 ;Jump Current page @@64", // op 5364 "JMP @@65 ;Jump Current page @@65", // op 5365 "JMP @@66 ;Jump Current page @@66", // op 5366 "JMP @@67 ;Jump Current page @@67", // op 5367 "JMP @@70 ;Jump Current page @@70", // op 5370 "JMP @@71 ;Jump Current page @@71", // op 5371 "JMP @@72 ;Jump Current page @@72", // op 5372 "JMP @@73 ;Jump Current page @@73", // op 5373 "JMP @@74 ;Jump Current page @@74", // op 5374 "JMP @@75 ;Jump Current page @@75", // op 5375 "JMP @@76 ;Jump Current page @@76", // op 5376 "JMP @@77 ;Jump Current page @@77", // op 5377 "JMP I 0000 ;Jump Indexed ZP 0000", // op 5400 "JMP I 0001 ;Jump Indexed ZP 0001", // op 5401 "JMP I 0002 ;Jump Indexed ZP 0002", // op 5402 "JMP I 0003 ;Jump Indexed ZP 0003", // op 5403 "JMP I 0004 ;Jump Indexed ZP 0004", // op 5404 "JMP I 0005 ;Jump Indexed ZP 0005", // op 5405 "JMP I 0006 ;Jump Indexed ZP 0006", // op 5406 "JMP I 0007 ;Jump Indexed ZP 0007", // op 5407 "JMP I 0010 ;Jump Indexed ZP 0010 [Auto pre-inc]", // op 5410 "JMP I 0011 ;Jump Indexed ZP 0011 [Auto pre-inc]", // op 5411 "JMP I 0012 ;Jump Indexed ZP 0012 [Auto pre-inc]", // op 5412 "JMP I 0013 ;Jump Indexed ZP 0013 [Auto pre-inc]", // op 5413 "JMP I 0014 ;Jump Indexed ZP 0014 [Auto pre-inc]", // op 5414 "JMP I 0015 ;Jump Indexed ZP 0015 [Auto pre-inc]", // op 5415 "JMP I 0016 ;Jump Indexed ZP 0016 [Auto pre-inc]", // op 5416 "JMP I 0017 ;Jump Indexed ZP 0017 [Auto pre-inc]", // op 5417 "JMP I 0020 ;Jump Indexed ZP 0020", // op 5420 "JMP I 0021 ;Jump Indexed ZP 0021", // op 5421 "JMP I 0022 ;Jump Indexed ZP 0022", // op 5422 "JMP I 0023 ;Jump Indexed ZP 0023", // op 5423 "JMP I 0024 ;Jump Indexed ZP 0024", // op 5424 "JMP I 0025 ;Jump Indexed ZP 0025", // op 5425 "JMP I 0026 ;Jump Indexed ZP 0026", // op 5426 "JMP I 0027 ;Jump Indexed ZP 0027", // op 5427 "JMP I 0030 ;Jump Indexed ZP 0030", // op 5430 "JMP I 0031 ;Jump Indexed ZP 0031", // op 5431 "JMP I 0032 ;Jump Indexed ZP 0032", // op 5432 "JMP I 0033 ;Jump Indexed ZP 0033", // op 5433 "JMP I 0034 ;Jump Indexed ZP 0034", // op 5434 "JMP I 0035 ;Jump Indexed ZP 0035", // op 5435 "JMP I 0036 ;Jump Indexed ZP 0036", // op 5436 "JMP I 0037 ;Jump Indexed ZP 0037", // op 5437 "JMP I 0040 ;Jump Indexed ZP 0040", // op 5440 "JMP I 0041 ;Jump Indexed ZP 0041", // op 5441 "JMP I 0042 ;Jump Indexed ZP 0042", // op 5442 "JMP I 0043 ;Jump Indexed ZP 0043", // op 5443 "JMP I 0044 ;Jump Indexed ZP 0044", // op 5444 "JMP I 0045 ;Jump Indexed ZP 0045", // op 5445 "JMP I 0046 ;Jump Indexed ZP 0046", // op 5446 "JMP I 0047 ;Jump Indexed ZP 0047", // op 5447 "JMP I 0050 ;Jump Indexed ZP 0050", // op 5450 "JMP I 0051 ;Jump Indexed ZP 0051", // op 5451 "JMP I 0052 ;Jump Indexed ZP 0052", // op 5452 "JMP I 0053 ;Jump Indexed ZP 0053", // op 5453 "JMP I 0054 ;Jump Indexed ZP 0054", // op 5454 "JMP I 0055 ;Jump Indexed ZP 0055", // op 5455 "JMP I 0056 ;Jump Indexed ZP 0056", // op 5456 "JMP I 0057 ;Jump Indexed ZP 0057", // op 5457 "JMP I 0060 ;Jump Indexed ZP 0060", // op 5460 "JMP I 0061 ;Jump Indexed ZP 0061", // op 5461 "JMP I 0062 ;Jump Indexed ZP 0062", // op 5462 "JMP I 0063 ;Jump Indexed ZP 0063", // op 5463 "JMP I 0064 ;Jump Indexed ZP 0064", // op 5464 "JMP I 0065 ;Jump Indexed ZP 0065", // op 5465 "JMP I 0066 ;Jump Indexed ZP 0066", // op 5466 "JMP I 0067 ;Jump Indexed ZP 0067", // op 5467 "JMP I 0070 ;Jump Indexed ZP 0070", // op 5470 "JMP I 0071 ;Jump Indexed ZP 0071", // op 5471 "JMP I 0072 ;Jump Indexed ZP 0072", // op 5472 "JMP I 0073 ;Jump Indexed ZP 0073", // op 5473 "JMP I 0074 ;Jump Indexed ZP 0074", // op 5474 "JMP I 0075 ;Jump Indexed ZP 0075", // op 5475 "JMP I 0076 ;Jump Indexed ZP 0076", // op 5476 "JMP I 0077 ;Jump Indexed ZP 0077", // op 5477 "JMP I 0100 ;Jump Indexed ZP 0100", // op 5500 "JMP I 0101 ;Jump Indexed ZP 0101", // op 5501 "JMP I 0102 ;Jump Indexed ZP 0102", // op 5502 "JMP I 0103 ;Jump Indexed ZP 0103", // op 5503 "JMP I 0104 ;Jump Indexed ZP 0104", // op 5504 "JMP I 0105 ;Jump Indexed ZP 0105", // op 5505 "JMP I 0106 ;Jump Indexed ZP 0106", // op 5506 "JMP I 0107 ;Jump Indexed ZP 0107", // op 5507 "JMP I 0110 ;Jump Indexed ZP 0110", // op 5510 "JMP I 0111 ;Jump Indexed ZP 0111", // op 5511 "JMP I 0112 ;Jump Indexed ZP 0112", // op 5512 "JMP I 0113 ;Jump Indexed ZP 0113", // op 5513 "JMP I 0114 ;Jump Indexed ZP 0114", // op 5514 "JMP I 0115 ;Jump Indexed ZP 0115", // op 5515 "JMP I 0116 ;Jump Indexed ZP 0116", // op 5516 "JMP I 0117 ;Jump Indexed ZP 0117", // op 5517 "JMP I 0120 ;Jump Indexed ZP 0120", // op 5520 "JMP I 0121 ;Jump Indexed ZP 0121", // op 5521 "JMP I 0122 ;Jump Indexed ZP 0122", // op 5522 "JMP I 0123 ;Jump Indexed ZP 0123", // op 5523 "JMP I 0124 ;Jump Indexed ZP 0124", // op 5524 "JMP I 0125 ;Jump Indexed ZP 0125", // op 5525 "JMP I 0126 ;Jump Indexed ZP 0126", // op 5526 "JMP I 0127 ;Jump Indexed ZP 0127", // op 5527 "JMP I 0130 ;Jump Indexed ZP 0130", // op 5530 "JMP I 0131 ;Jump Indexed ZP 0131", // op 5531 "JMP I 0132 ;Jump Indexed ZP 0132", // op 5532 "JMP I 0133 ;Jump Indexed ZP 0133", // op 5533 "JMP I 0134 ;Jump Indexed ZP 0134", // op 5534 "JMP I 0135 ;Jump Indexed ZP 0135", // op 5535 "JMP I 0136 ;Jump Indexed ZP 0136", // op 5536 "JMP I 0137 ;Jump Indexed ZP 0137", // op 5537 "JMP I 0140 ;Jump Indexed ZP 0140", // op 5540 "JMP I 0141 ;Jump Indexed ZP 0141", // op 5541 "JMP I 0142 ;Jump Indexed ZP 0142", // op 5542 "JMP I 0143 ;Jump Indexed ZP 0143", // op 5543 "JMP I 0144 ;Jump Indexed ZP 0144", // op 5544 "JMP I 0145 ;Jump Indexed ZP 0145", // op 5545 "JMP I 0146 ;Jump Indexed ZP 0146", // op 5546 "JMP I 0147 ;Jump Indexed ZP 0147", // op 5547 "JMP I 0150 ;Jump Indexed ZP 0150", // op 5550 "JMP I 0151 ;Jump Indexed ZP 0151", // op 5551 "JMP I 0152 ;Jump Indexed ZP 0152", // op 5552 "JMP I 0153 ;Jump Indexed ZP 0153", // op 5553 "JMP I 0154 ;Jump Indexed ZP 0154", // op 5554 "JMP I 0155 ;Jump Indexed ZP 0155", // op 5555 "JMP I 0156 ;Jump Indexed ZP 0156", // op 5556 "JMP I 0157 ;Jump Indexed ZP 0157", // op 5557 "JMP I 0160 ;Jump Indexed ZP 0160", // op 5560 "JMP I 0161 ;Jump Indexed ZP 0161", // op 5561 "JMP I 0162 ;Jump Indexed ZP 0162", // op 5562 "JMP I 0163 ;Jump Indexed ZP 0163", // op 5563 "JMP I 0164 ;Jump Indexed ZP 0164", // op 5564 "JMP I 0165 ;Jump Indexed ZP 0165", // op 5565 "JMP I 0166 ;Jump Indexed ZP 0166", // op 5566 "JMP I 0167 ;Jump Indexed ZP 0167", // op 5567 "JMP I 0170 ;Jump Indexed ZP 0170", // op 5570 "JMP I 0171 ;Jump Indexed ZP 0171", // op 5571 "JMP I 0172 ;Jump Indexed ZP 0172", // op 5572 "JMP I 0173 ;Jump Indexed ZP 0173", // op 5573 "JMP I 0174 ;Jump Indexed ZP 0174", // op 5574 "JMP I 0175 ;Jump Indexed ZP 0175", // op 5575 "JMP I 0176 ;Jump Indexed ZP 0176", // op 5576 "JMP I 0177 ;Jump Indexed ZP 0177", // op 5577 "JMP I @@00 ;Jump Indexed Current page @@00", // op 5600 "JMP I @@01 ;Jump Indexed Current page @@01", // op 5601 "JMP I @@02 ;Jump Indexed Current page @@02", // op 5602 "JMP I @@03 ;Jump Indexed Current page @@03", // op 5603 "JMP I @@04 ;Jump Indexed Current page @@04", // op 5604 "JMP I @@05 ;Jump Indexed Current page @@05", // op 5605 "JMP I @@06 ;Jump Indexed Current page @@06", // op 5606 "JMP I @@07 ;Jump Indexed Current page @@07", // op 5607 "JMP I @@10 ;Jump Indexed Current page @@10", // op 5610 "JMP I @@11 ;Jump Indexed Current page @@11", // op 5611 "JMP I @@12 ;Jump Indexed Current page @@12", // op 5612 "JMP I @@13 ;Jump Indexed Current page @@13", // op 5613 "JMP I @@14 ;Jump Indexed Current page @@14", // op 5614 "JMP I @@15 ;Jump Indexed Current page @@15", // op 5615 "JMP I @@16 ;Jump Indexed Current page @@16", // op 5616 "JMP I @@17 ;Jump Indexed Current page @@17", // op 5617 "JMP I @@20 ;Jump Indexed Current page @@20", // op 5620 "JMP I @@21 ;Jump Indexed Current page @@21", // op 5621 "JMP I @@22 ;Jump Indexed Current page @@22", // op 5622 "JMP I @@23 ;Jump Indexed Current page @@23", // op 5623 "JMP I @@24 ;Jump Indexed Current page @@24", // op 5624 "JMP I @@25 ;Jump Indexed Current page @@25", // op 5625 "JMP I @@26 ;Jump Indexed Current page @@26", // op 5626 "JMP I @@27 ;Jump Indexed Current page @@27", // op 5627 "JMP I @@30 ;Jump Indexed Current page @@30", // op 5630 "JMP I @@31 ;Jump Indexed Current page @@31", // op 5631 "JMP I @@32 ;Jump Indexed Current page @@32", // op 5632 "JMP I @@33 ;Jump Indexed Current page @@33", // op 5633 "JMP I @@34 ;Jump Indexed Current page @@34", // op 5634 "JMP I @@35 ;Jump Indexed Current page @@35", // op 5635 "JMP I @@36 ;Jump Indexed Current page @@36", // op 5636 "JMP I @@37 ;Jump Indexed Current page @@37", // op 5637 "JMP I @@40 ;Jump Indexed Current page @@40", // op 5640 "JMP I @@41 ;Jump Indexed Current page @@41", // op 5641 "JMP I @@42 ;Jump Indexed Current page @@42", // op 5642 "JMP I @@43 ;Jump Indexed Current page @@43", // op 5643 "JMP I @@44 ;Jump Indexed Current page @@44", // op 5644 "JMP I @@45 ;Jump Indexed Current page @@45", // op 5645 "JMP I @@46 ;Jump Indexed Current page @@46", // op 5646 "JMP I @@47 ;Jump Indexed Current page @@47", // op 5647 "JMP I @@50 ;Jump Indexed Current page @@50", // op 5650 "JMP I @@51 ;Jump Indexed Current page @@51", // op 5651 "JMP I @@52 ;Jump Indexed Current page @@52", // op 5652 "JMP I @@53 ;Jump Indexed Current page @@53", // op 5653 "JMP I @@54 ;Jump Indexed Current page @@54", // op 5654 "JMP I @@55 ;Jump Indexed Current page @@55", // op 5655 "JMP I @@56 ;Jump Indexed Current page @@56", // op 5656 "JMP I @@57 ;Jump Indexed Current page @@57", // op 5657 "JMP I @@60 ;Jump Indexed Current page @@60", // op 5660 "JMP I @@61 ;Jump Indexed Current page @@61", // op 5661 "JMP I @@62 ;Jump Indexed Current page @@62", // op 5662 "JMP I @@63 ;Jump Indexed Current page @@63", // op 5663 "JMP I @@64 ;Jump Indexed Current page @@64", // op 5664 "JMP I @@65 ;Jump Indexed Current page @@65", // op 5665 "JMP I @@66 ;Jump Indexed Current page @@66", // op 5666 "JMP I @@67 ;Jump Indexed Current page @@67", // op 5667 "JMP I @@70 ;Jump Indexed Current page @@70", // op 5670 "JMP I @@71 ;Jump Indexed Current page @@71", // op 5671 "JMP I @@72 ;Jump Indexed Current page @@72", // op 5672 "JMP I @@73 ;Jump Indexed Current page @@73", // op 5673 "JMP I @@74 ;Jump Indexed Current page @@74", // op 5674 "JMP I @@75 ;Jump Indexed Current page @@75", // op 5675 "JMP I @@76 ;Jump Indexed Current page @@76", // op 5676 "JMP I @@77 ;Jump Indexed Current page @@77", // op 5677 "JMP I @@00 ;Jump Indexed Current page @@00", // op 5700 "JMP I @@01 ;Jump Indexed Current page @@01", // op 5701 "JMP I @@02 ;Jump Indexed Current page @@02", // op 5702 "JMP I @@03 ;Jump Indexed Current page @@03", // op 5703 "JMP I @@04 ;Jump Indexed Current page @@04", // op 5704 "JMP I @@05 ;Jump Indexed Current page @@05", // op 5705 "JMP I @@06 ;Jump Indexed Current page @@06", // op 5706 "JMP I @@07 ;Jump Indexed Current page @@07", // op 5707 "JMP I @@10 ;Jump Indexed Current page @@10", // op 5710 "JMP I @@11 ;Jump Indexed Current page @@11", // op 5711 "JMP I @@12 ;Jump Indexed Current page @@12", // op 5712 "JMP I @@13 ;Jump Indexed Current page @@13", // op 5713 "JMP I @@14 ;Jump Indexed Current page @@14", // op 5714 "JMP I @@15 ;Jump Indexed Current page @@15", // op 5715 "JMP I @@16 ;Jump Indexed Current page @@16", // op 5716 "JMP I @@17 ;Jump Indexed Current page @@17", // op 5717 "JMP I @@20 ;Jump Indexed Current page @@20", // op 5720 "JMP I @@21 ;Jump Indexed Current page @@21", // op 5721 "JMP I @@22 ;Jump Indexed Current page @@22", // op 5722 "JMP I @@23 ;Jump Indexed Current page @@23", // op 5723 "JMP I @@24 ;Jump Indexed Current page @@24", // op 5724 "JMP I @@25 ;Jump Indexed Current page @@25", // op 5725 "JMP I @@26 ;Jump Indexed Current page @@26", // op 5726 "JMP I @@27 ;Jump Indexed Current page @@27", // op 5727 "JMP I @@30 ;Jump Indexed Current page @@30", // op 5730 "JMP I @@31 ;Jump Indexed Current page @@31", // op 5731 "JMP I @@32 ;Jump Indexed Current page @@32", // op 5732 "JMP I @@33 ;Jump Indexed Current page @@33", // op 5733 "JMP I @@34 ;Jump Indexed Current page @@34", // op 5734 "JMP I @@35 ;Jump Indexed Current page @@35", // op 5735 "JMP I @@36 ;Jump Indexed Current page @@36", // op 5736 "JMP I @@37 ;Jump Indexed Current page @@37", // op 5737 "JMP I @@40 ;Jump Indexed Current page @@40", // op 5740 "JMP I @@41 ;Jump Indexed Current page @@41", // op 5741 "JMP I @@42 ;Jump Indexed Current page @@42", // op 5742 "JMP I @@43 ;Jump Indexed Current page @@43", // op 5743 "JMP I @@44 ;Jump Indexed Current page @@44", // op 5744 "JMP I @@45 ;Jump Indexed Current page @@45", // op 5745 "JMP I @@46 ;Jump Indexed Current page @@46", // op 5746 "JMP I @@47 ;Jump Indexed Current page @@47", // op 5747 "JMP I @@50 ;Jump Indexed Current page @@50", // op 5750 "JMP I @@51 ;Jump Indexed Current page @@51", // op 5751 "JMP I @@52 ;Jump Indexed Current page @@52", // op 5752 "JMP I @@53 ;Jump Indexed Current page @@53", // op 5753 "JMP I @@54 ;Jump Indexed Current page @@54", // op 5754 "JMP I @@55 ;Jump Indexed Current page @@55", // op 5755 "JMP I @@56 ;Jump Indexed Current page @@56", // op 5756 "JMP I @@57 ;Jump Indexed Current page @@57", // op 5757 "JMP I @@60 ;Jump Indexed Current page @@60", // op 5760 "JMP I @@61 ;Jump Indexed Current page @@61", // op 5761 "JMP I @@62 ;Jump Indexed Current page @@62", // op 5762 "JMP I @@63 ;Jump Indexed Current page @@63", // op 5763 "JMP I @@64 ;Jump Indexed Current page @@64", // op 5764 "JMP I @@65 ;Jump Indexed Current page @@65", // op 5765 "JMP I @@66 ;Jump Indexed Current page @@66", // op 5766 "JMP I @@67 ;Jump Indexed Current page @@67", // op 5767 "JMP I @@70 ;Jump Indexed Current page @@70", // op 5770 "JMP I @@71 ;Jump Indexed Current page @@71", // op 5771 "JMP I @@72 ;Jump Indexed Current page @@72", // op 5772 "JMP I @@73 ;Jump Indexed Current page @@73", // op 5773 "JMP I @@74 ;Jump Indexed Current page @@74", // op 5774 "JMP I @@75 ;Jump Indexed Current page @@75", // op 5775 "JMP I @@76 ;Jump Indexed Current page @@76", // op 5776 "JMP I @@77 ;Jump Indexed Current page @@77", // op 5777 "SKON ;KK8-E: Skip if interrupts on, and turn interrupts off", // op 6000 "ION ;KK8-E: Interrupts enabled", // op 6001 "IOF ;KK8-E: Interrupts disabled", // op 6002 "SRQ ;KK8-E: Skip interrupt request", // op 6003 "GTF ;KK8-E: Get interrupt flags", // op 6004 "RTF ;KK8-E: Restore interrupt flags", // op 6005 "SGT ;KK8-E: Skip on greater-than flag", // op 6006 "CAF ;KK8-E: Clear all flags", // op 6007 "RPE ;PR8-E: Set ReaderPunch Interrupt Enable", // op 6010 "RSF ;PR8-E: Skip on Reader Flag", // op 6011 "RRB ;PR8-E: Read Reader Buffer", // op 6012 " ;", // op 6013 "RFC ;PR8-E: Reader Fetch Character", // op 6014 " ;", // op 6015 "RRB, RFC ;PR8-E: Read Reader Buffer & Fetch New Character", // op 6016 " ;", // op 6017 "PCE ;PR8-E: Clear ReaderPunch Interrupt Enable", // op 6020 "PSF ;PP8-E: Skip on Punch Flag", // op 6021 "PCF ;PP8-E: Clear Punch Flag", // op 6022 " ; ", // op 6023 "@@C ;PP8-E: Load Punch Buffer and Punch Character", // op 6024 " ; ", // op 6025 "PLS ;PP8-E: Load Punch Sequence", // op 6026 " ; ", // op 6027 "KCF ;KL8-E: Clear Keyboard Flag", // op 6030 "KSF ;KL8-E: Skip on Keyboard Flag", // op 6031 "KCC ;KL8-E: Clear Keyboard Flag", // op 6032 " ; ", // op 6033 "KRS ;KL8-E: Read Keyboard Buffer Static", // op 6034 "KIE ;KL8-E: SetClear Keyboard Interrupt Enable", // op 6035 "KRB ;KL8-E: Read Keyboard Buffer Dynamic", // op 6036 " ; ", // op 6037 "TFL ;KL8-E: Set Teleprinter Flag", // op 6040 "TSF ;KL8-E: Skip on Teleprinter Flag", // op 6041 "TCF ;KL8-E: Clear Teleprinter Flag", // op 6042 " ; ", // op 6043 "TPC ;KL8-E: Load Teleprinter and Print", // op 6044 "TSK ;KL8-E: Skip on Keyboard or Printer Flag", // op 6045 "TLS ;KL8-E: Load Teleprinter Sequence", // op 6046 " ; ", // op 6047 "DILC ;VC8-E: Clear All Logic", // op 6050 "DICD ;VC8-E: Clear Done Flag", // op 6051 "DISD ;VC8-E: Skip on Done Flag", // op 6052 "DILX ;VC8-E: Load X Register", // op 6053 "DILY ;VC8-E: Load Y Register", // op 6054 " ;", // op 6055 "DILE ;VC8-E: Load Enable", // op 6056 "DIRE ;VC8-E: Read EnableStatus Register", // op 6057 " ;", // op 6060 "WTCD ;VW01: Clear Data Ready Flag", // op 6061 "WTRY ;VW01: Read Y", // op 6062 " ;", // op 6063 "WTMN ;VW01: Clear Set XY", // op 6064 " ;", // op 6065 " ;", // op 6066 " ;", // op 6067 " ;", // op 6070 "WTSK ;VW01: Writing Tablet Skip", // op 6071 "WTRS ;VW01: Read Status", // op 6072 " ;", // op 6073 "WTSE ;VW01: Select Tablet", // op 6074 " ;", // op 6075 " ;", // op 6076 " ;", // op 6077 "DPI ;MP8-E: Disable Memory Parity Interrupt", // op 6100 "SMP ;MP8-E: Skip on No Memory Parity Error", // op 6101 "SPL ;KP8-E: Skip on Low Power", // op 6102 "EPI ;MP8-E: Enable Memory Parity Error Interrupt", // op 6103 "CMP ;MP8-E: Clear Memory Parity Error Flag", // op 6104 "SMP CMP ;MP8-E: Skip on no Memory Parity Error & Clear Memory Parity Error Flag", // op 6105 "CEP ;MP8-E: Check for Even Parity", // op 6106 "SPO ;MP8-E: Skip on Memory Parity Option", // op 6107 "RCTV ;DP8-EP: Test VRC and Skip", // op 6110 "RCRH ;DP8-EP: Read BCC High", // op 6111 "RLRL ;DP8-EP: Read BCC Low", // op 6112 "RCCV ;DP8-EP: Compute VRC", // op 6113 "RCGB ;DP8-EP: Generate BCC", // op 6114 "MINT ;DC02-F: Set Interrupt Flip-Flop", // op 6115 "RCCB ;DP8-EP: Clear BCC Accumulation", // op 6116 "RCTC ;DP8-EP: Maintenance Test Clock", // op 6117 " ;", // op 6120 "MTSF ;DC02-F: Skip on Transmitter Flag", // op 6121 "MTCF ;DC02-F: Clear Transmitter Flag", // op 6122 "MTKF ;DC02-F: Read Receiver Flag Status", // op 6123 "MTPC ;DC02-F: Transmit Operation", // op 6124 "MINS ;DC02-F: Skip on Interrupt Request", // op 6125 "MTCF MTPC ;DC02-F: Combined MTCF & MTPC", // op 6126 "MTRS ;DC02-F: Read Station Status", // op 6127 "CLZE ;DK8-EC: Clear Clock Enable Register per AC", // op 6130 "CLEI ;DK8-EA: Enable clock Interrupt", // op 6131 "CLDI ;DK8-EA: Disable Clock Interrupt;Octal error)", // op 6132 "CLSK ;DK8-EA: Skip on Clock Flag an Clear Flag", // op 6133 "CLEN ;DK8-EC: Load Clock Enable Register", // op 6134 "CLSA ;DK8-EC: Clock Status to AC", // op 6135 "CLBA ;DK8-EC: Clock Buffer to AC", // op 6136 "CLCA ;DK8-EC: Clock Counter to AC", // op 6137 " ;", // op 6140 " ;", // op 6141 " ;", // op 6142 " ;", // op 6143 " ;", // op 6144 " ;", // op 6145 " ;", // op 6146 " ;", // op 6147 " ;", // op 6150 " ;", // op 6151 " ;", // op 6152 " ;", // op 6153 " ;", // op 6154 " ;", // op 6155 " ;", // op 6156 " ;", // op 6157 " ;", // op 6160 " ;", // op 6161 " ;", // op 6162 " ;", // op 6163 " ;", // op 6164 " ;", // op 6165 " ;", // op 6166 " ;", // op 6167 " ;", // op 6170 " ;", // op 6171 " ;", // op 6172 " ;", // op 6173 " ;", // op 6174 " ;", // op 6175 " ;", // op 6176 " ;", // op 6177 " ;", // op 6200 "CDF 0 ;KM8-E: Change to Data Field 0", // op 6201 "CIF 0 ;KM8-E: Change to Instruction Field 0", // op 6202 "CDF 0 CIF 0;KM8-E: Change to Data and Instruction Field 0", // op 6203 "CINT ;KM8-E: Clear User Interrupt", // op 6204 " ;", // op 6205 " ;", // op 6206 " ;", // op 6207 " ;", // op 6210 "CDF 1 ;KM8-E: Change to Data Field 1", // op 6211 "CIF 1 ;KM8-E: Change to Instruction Field 1", // op 6212 "CDF 1 CIF 1;KM8-E: Change to Data and Instruction Field 1", // op 6213 "RDF ;KM8-E: Read Data Field", // op 6214 " ;", // op 6215 " ;", // op 6216 " ;", // op 6217 " ;", // op 6220 "CDF 2 ;KM8-E: Change to Data Field 2", // op 6221 "CIF 2 ;KM8-E: Change to Instruction Field 2", // op 6222 "CDF 2 CIF 2;KM8-E: Change to Data and Instruction Field 2", // op 6223 "RIF ;KM8-E: Read Instruction Field", // op 6224 " ;", // op 6225 " ;", // op 6226 " ;", // op 6227 " ;", // op 6230 "CDF 3 ;KM8-E: Change to Data Field 3", // op 6231 "CIF 3 ;KM8-E: Change to Instruction Field 3", // op 6232 "CDF 3 CIF 3;KM8-E: Change to Data and Instruction Field 3", // op 6233 "RIB ;KM8-E: Read Interrupt Buffer", // op 6234 " ;", // op 6235 " ;", // op 6236 " ;", // op 6237 " ;", // op 6240 "CDF 4 ;KM8-E: Change to Data Field 4", // op 6241 "CIF 4 ;KM8-E: Change to Instruction Field 4", // op 6242 "CDF 4 CIF 4;KM8-E: Change to Data and Instruction Field 4", // op 6243 "RMF ;KM8-E: Restore Memory Field", // op 6244 " ;", // op 6245 " ;", // op 6246 " ;", // op 6247 " ;", // op 6250 "CDF 5 ;KM8-E: Change to Data Field 5", // op 6251 "CIF 5 ;KM8-E: Change to Instruction Field 5", // op 6252 "CDF 5 CIF 5;KM8-E: Change to Data and Instruction Field 5", // op 6253 "SINT ;KM8-E: Skip on User Interrupt", // op 6254 " ;", // op 6255 " ;", // op 6256 " ;", // op 6257 " ;", // op 6260 "CDF 6 ;KM8-E: Change to Data Field 6", // op 6261 "CIF 6 ;KM8-E: Change to Instruction Field 6", // op 6262 "CDF 6 CIF 6;KM8-E: Change to Data and Instruction Field 6", // op 6263 "CUF ;KM8-E: Clear User Flag", // op 6264 " ;", // op 6265 " ;", // op 6266 " ;", // op 6267 " ;", // op 6270 "CDF 7 ;KM8-E: Change to Data Field 7", // op 6271 "CIF 7 ;KM8-E: Change to Instruction Field 7", // op 6272 "CDF 7 CIF 7;KM8-E: Change to Data and Instruction Field 7", // op 6273 "UNKNOWN! ;KM8-E: Set User Buffer Flip Flop, Block Interrupts", // op 6274 " ;", // op 6275 " ;", // op 6276 " ;", // op 6277 " ;", // op 6300 " ;", // op 6301 " ;", // op 6302 " ;", // op 6303 " ;", // op 6304 " ;", // op 6305 " ;", // op 6306 " ;", // op 6307 " ;", // op 6310 " ;", // op 6311 " ;", // op 6312 " ;", // op 6313 " ;", // op 6314 " ;", // op 6315 " ;", // op 6316 " ;", // op 6317 " ;", // op 6320 " ;", // op 6321 " ;", // op 6322 " ;", // op 6323 " ;", // op 6324 " ;", // op 6325 " ;", // op 6326 " ;", // op 6327 " ;", // op 6330 " ;", // op 6331 " ;", // op 6332 " ;", // op 6333 " ;", // op 6334 " ;", // op 6335 " ;", // op 6336 " ;", // op 6337 " ;", // op 6340 " ;", // op 6341 " ;", // op 6342 " ;", // op 6343 " ;", // op 6344 " ;", // op 6345 " ;", // op 6346 " ;", // op 6347 " ;", // op 6350 "UDSS ;UDC: Skip on Scan Not Busy", // op 6351 " ;", // op 6352 "UDSC ;UDC: Start Interrupt Scan", // op 6353 " ;", // op 6354 " ;", // op 6355 "UDRA ;UDC: Read Address and Generic Type", // op 6356 "UDLS ;UDC: Load Previous Status", // op 6357 " ;", // op 6360 "UDSF ;UDC: Skip on UDC Flag and Clear Flag", // op 6361 "GCTF ;BB08-P: Clear Transmit Flag", // op 6362 "UDLA ;UDC: Load Address", // op 6363 "UDEI ;UDC: Enable UDC Interrupt Flasg", // op 6364 "UDDI ;UDC: Disable UDC Interrupt Flag", // op 6365 "UDRD ;UDC: Clear AC and Read Data", // op 6366 "UDLD ;UDC: Load Data and Clear AC", // op 6367 " ;", // op 6370 "GRSF ;BB08-P: Skip on Receive Flag", // op 6371 "GCRF ;BB08-P: Clear Receive Flag", // op 6372 " ;", // op 6373 "GRDB ;BB08-P: Read Device Buffer", // op 6374 " ;", // op 6375 " ;", // op 6376 " ;", // op 6377 "SSCD ;DP8-EAEB: Skip if Character Detected", // op 6400 "SCSI ;DP8-EAEB: Clear Synchrnous Interface", // op 6401 "SSRO ;DP8-EAEB: Skip If Receive Word Count Overflow", // op 6402 "SSTO ;DP8-EAEB: Skip of Transmit Word Count Overflow", // op 6403 "SGRR ;DP8-EAEB: Receuve Go", // op 6404 "SGTT ;DP8-EAEB: Transmit Go", // op 6405 "SCSD ;DP8-EAEB: Clear Sync Detect", // op 6406 "SRTA ;DP8-EAEB: Read Transfer Address Register", // op 6407 "SSRG ;DP8-EAEB: Skip if Ring Flag", // op 6410 "SSCA ;DP8-EAEB: Skip if CarrierAGC Flag", // op 6411 "SLCC ;DP8-EAEB: Load Control", // op 6412 "SLFL ;DP8-EAEB: Load Field", // op 6413 "SRS2 ;DP8-EAEB: Read Status 2", // op 6414 "SRS1 ;DP8-EAEB: Read Status 1", // op 6415 "SSBE ;DP8-EAEB: Skip on Bus Error", // op 6416 "SRCD ;DP8-EAEB: Read Character Detected", // op 6417 "SSCD ;DP8-EAEB: Skip if Character Detected", // op 6420 "SCSI ;DP8-EAEB: Clear Synchrnous Interface", // op 6421 " ;", // op 6422 "SSTO ;DP8-EAEB: Skip of Transmit Word Count Overflow", // op 6423 "SGRR ;DP8-EAEB: Receuve Go", // op 6424 "SGTT ;DP8-EAEB: Transmit Go", // op 6425 "SCSD ;DP8-EAEB: Clear Sync Detect", // op 6426 "SRTA ;DP8-EAEB: Read Transfer Address Register", // op 6427 "SSRG ;DP8-EAEB: Skip if Ring Flag", // op 6430 "SSCA ;DP8-EAEB: Skip if CarrierAGC Flag", // op 6431 "SLCC ;DP8-EAEB: Load Control", // op 6432 "SLFL ;DP8-EAEB: Load Field", // op 6433 "SRS2 ;DP8-EAEB: Read Status 2", // op 6434 "SRS1 ;DP8-EAEB: Read Status 1", // op 6435 "SSBE ;DP8-EAEB: Skip on Bus Error", // op 6436 "SRCD ;DP8-EAEB: Read Character Detected", // op 6437 "SSCD ;DP8-EAEB: Skip if Character Detected", // op 6440 "SCSI ;DP8-EAEB: Clear Synchrnous Interface", // op 6441 " ;", // op 6442 "SSTO ;DP8-EAEB: Skip of Transmit Word Count Overflow", // op 6443 "SGRR ;DP8-EAEB: Receuve Go", // op 6444 "SGTT ;DP8-EAEB: Transmit Go", // op 6445 "SCSD ;DP8-EAEB: Clear Sync Detect", // op 6446 "SRTA ;DP8-EAEB: Read Transfer Address Register", // op 6447 "SSRG ;DP8-EAEB: Skip if Ring Flag", // op 6450 "SSCA ;DP8-EAEB: Skip if CarrierAGC Flag", // op 6451 "SLCC ;DP8-EAEB: Load Control", // op 6452 "SLFL ;DP8-EAEB: Load Field", // op 6453 "SRS2 ;DP8-EAEB: Read Status 2", // op 6454 "SRS1 ;DP8-EAEB: Read Status 1", // op 6455 "SSBE ;DP8-EAEB: Skip on Bus Error", // op 6456 "SRCD ;DP8-EAEB: Read Character Detected", // op 6457 "SSCD ;DP8-EAEB: Skip if Character Detected", // op 6460 "SCSI ;DP8-EAEB: Clear Synchrnous Interface", // op 6461 " ;", // op 6462 "SSTO ;DP8-EAEB: Skip of Transmit Word Count Overflow", // op 6463 "SSRO ;DP8-EAEB: Skip If Receive Word Count Overflow", // op 6464 "SGTT ;DP8-EAEB: Transmit Go", // op 6465 "SCSD ;DP8-EAEB: Clear Sync Detect", // op 6466 "SRTA ;DP8-EAEB: Read Transfer Address Register", // op 6467 "SSRG ;DP8-EAEB: Skip if Ring Flag", // op 6470 "SSCA ;DP8-EAEB: Skip if CarrierAGC Flag", // op 6471 "SLCC ;DP8-EAEB: Load Control", // op 6472 "SLFL ;DP8-EAEB: Load Field", // op 6473 "SRS2 ;DP8-EAEB: Read Status 2", // op 6474 "SRS1 ;DP8-EAEB: Read Status 1", // op 6475 "SSBE ;DP8-EAEB: Skip on Bus Error", // op 6476 "SRCD ;DP8-EAEB: Read Character Detected", // op 6477 "PLCE ;XY8E: Clear Interrupt Enable", // op 6500 "PLSF ;XY8E: Skip on Plotter Flag", // op 6501 "PLCF ;XY8E: Clear Plotter Flag", // op 6502 "PLPU ;XY8E: Pen Up", // op 6503 "PLLR ;XY8E: Load Direction Flag, Set Flag", // op 6504 "PLPD ;XY8E: Pen Down", // op 6505 "PLCF PLLR ;XY8E: Clear Plotter Flag, Load Direction Flag, Set Flag", // op 6506 "PLSE ;XY8E: Set Interrupt Enable Flag", // op 6507 " ;", // op 6510 " ;", // op 6511 " ;", // op 6512 " ;", // op 6513 " ;", // op 6514 " ;", // op 6515 " ;", // op 6516 " ;", // op 6517 " ;", // op 6520 " ;", // op 6521 " ;", // op 6522 " ;", // op 6523 " ;", // op 6524 " ;", // op 6525 " ;", // op 6526 " ;", // op 6527 "ADCL ;AD8-EA: Clear All", // op 6530 "ADLM ;AD8-EA: Load Multiplexer", // op 6531 "ADST ;AD8-EA: Start Conversion", // op 6532 "ADRB ;AD8-EA: Read AD Buffer", // op 6533 "ADSK ;AD8-EA: Skip on AD Done", // op 6534 "ADSE ;AD8-EA: Skip on Error", // op 6535 "ADLE ;AD8-EA: Load Enable Register", // op 6536 "ADRS ;AD8-EA: Read Status Register", // op 6537 " ;", // op 6540 "VCNV ;AF04A: Select Channel and Convert", // op 6541 "ADSG ;AFC8: Set Multiplexer Gain", // op 6542 " ;", // op 6543 "ADSA ;AFC8: Set Multiplexer Address", // op 6544 " ;", // op 6545 " ;", // op 6546 " ;", // op 6547 "DBDI ;DR8-EA: Disable Interrupt", // op 6550 "FPINT ;FPP-12: Skip on FPP Interrupt Request Flag", // op 6551 "FPICL ;FPP-12: Clear FPP Interrupt Request Flag", // op 6552 "FPCOM ;FPP-12: If FPP not running, copy AC to Command Register", // op 6553 "FPHLT ;FPP-12: Halt FPP after current Instruction", // op 6554 "FPST ;FPP-12: Skip and copy AC to Active Param Table if not running", // op 6555 "FPRST ;FPP-12: Read FPP Status Register", // op 6556 "FPIST ;FPP-12: Skip on FPP Interrupt Rewuest Flag, and Clear Flag", // op 6557 " ;", // op 6560 "VSDR ;AF04A: Skip on Data Ready", // op 6561 "VRD ;AF04A: Read Data and Clear Flag", // op 6562 " ;", // op 6563 "VBA ;AF04A: Byte Advance", // op 6564 " ;", // op 6565 " ;", // op 6566 " ;", // op 6567 " ;", // op 6570 "VSCC ;AF04A: Sample Current Channel", // op 6571 " ;", // op 6572 " ;", // op 6573 " ;", // op 6574 " ;", // op 6575 " ;", // op 6576 " ;", // op 6577 " ;", // op 6600 "DCMA ;DF32-D: Clear Disk Address Register", // op 6601 " ;", // op 6602 "DMAR ;DF32-D: Load Disk Memory Address Register and Read", // op 6603 " ;", // op 6604 "DMAW ;DF32-D: Load Disk Memory Address Register and Write", // op 6605 " ;", // op 6606 " ;", // op 6607 " ;", // op 6610 "DCEA ;DF32-D: Clear Disk Extended Address Register", // op 6611 "DSAC ;DF32-D: Skip on Address Confirmed Flag", // op 6612 " ;", // op 6613 " ;", // op 6614 "DEAL ;DF32-D: Load Disk Extended Address", // op 6615 "DEAC ;DF32-D: Read Disk Extended Address Register", // op 6616 " ;", // op 6617 " ;", // op 6620 "DFSE ;DF32-D: Skip on Zero Error Flag", // op 6621 "DFSC ;DF32-D: Skip on Data Completion Flag", // op 6622 "DISK ;RF08: Skip on Error or Completion Flag", // op 6623 " ;", // op 6624 " ;", // op 6625 "DMAC ;DF32-D: Read Disk Memory Address Register", // op 6626 " ;", // op 6627 " ;", // op 6630 "RCSF ;CR8-E: Skip on Rdata Ready", // op 6631 "RCRA ;CR8-E: Read Alphanumeric", // op 6632 " ;", // op 6633 "RCRB ;CR8-E: Read Binary", // op 6634 "RCNO ;CR8-E: Read Conditions out to Card Reader", // op 6635 "RCRC ;CR8-E: Read Compressed", // op 6636 "RCNI ;CR8-E: Read Conditions in from Card Reader", // op 6637 " ;", // op 6640 "DCXA ;RF08: Clear High Order Address Register", // op 6641 " ;", // op 6642 "DXAL ;RF08: Clear and Load High Order Address Register", // op 6643 " ;", // op 6644 "DXAC ;RF08: Clear AC and Load DAR into AC", // op 6645 "DMMT ;RF08: Initiate Maintenance Register", // op 6646 " ;", // op 6647 " ;", // op 6650 " ;", // op 6651 " ;", // op 6652 " ;", // op 6653 " ;", // op 6654 " ;", // op 6655 " ;", // op 6656 " ;", // op 6657 " ;", // op 6660 "PSKF ;LE8-0: Skip on Character Flag", // op 6661 "PCLF ;LE8-0: Clear Character Flag", // op 6662 "PSKE ;LE8-0: Skip on Error", // op 6663 "PSTB ;LE8-0: Load Printer Buffer, Print on Full Buffer or Control Character", // op 6664 "PSIE ;LE8-0: Set Program Interrupt Enable Flag", // op 6665 "PCLF PSTB ;LE8-0: Clear Character Flag, Load Printer Buffer and Print", // op 6666 "PCIE ;LE8-0: Clear Program Interrupt Enable Flag", // op 6667 " ;", // op 6670 "RCSD ;CR8-E: Skip on Card Done Flag", // op 6671 "RCSE ;CR8-E: Select Card Reader and Skip if Ready", // op 6672 " ;", // op 6673 "RCRD ;CR8-E: Clear Card Done Flag", // op 6674 "RCSI ;CR8-E: Skip if Interrupt Being Generated", // op 6675 " ;", // op 6676 "RCTF ;CR8-E: Clear Transition Flags", // op 6677 " ;", // op 6700 "LWCR ;TM8-E: Load Word Count Register", // op 6701 "CWCR ;TM8-E: Clear Word Count Register", // op 6702 "LCAR ;TM8-E: Load Current Address Register", // op 6703 "CCAR ;TM8-E: Clear Current Address", // op 6704 "LCMR ;TM8-E: Load Command Register", // op 6705 "LFGR ;TM8-E: Load Function Register", // op 6706 "LDBR ;TM8-E: Load Data Buffer Register", // op 6707 " ;", // op 6710 "RWCR ;TM8-E: Read Word Count Register", // op 6711 "CLT ;TM8-E: Clear Transport", // op 6712 "RCAR ;TM8-E: Read Current Address Register", // op 6713 "RMSR ;TM8-E: Read Main Status Register", // op 6714 "RCMR ;TM8-E: Read Command Register", // op 6715 "RFSR ;TM8-E: Read Function Register & Status", // op 6716 "RDBR ;TM8-E: Read Data Buffer", // op 6717 " ;", // op 6720 "SKEF ;TM8-E: Skip if Error Flag", // op 6721 "SKCB ;TM8-E: Skip if Control not Busy", // op 6722 "SKJD ;TM8-E: Skip When Job Done", // op 6723 "SKTR ;TM8-E: Skip When Tape Ready", // op 6724 "CLF ;TM8-E: Clear Controller and Master", // op 6725 " ;", // op 6726 " ;", // op 6727 " ;", // op 6730 "DLDA ;RK08-P: Load Disk Address, Maintenance only)", // op 6731 "DLDC ;RK08-P: Load Command Register", // op 6732 "DLDR ;RK08-P: Load Disk Address and Read", // op 6733 "DRDA ;RK08-P: Read Disk Address", // op 6734 "DLDW ;RK08-P: Load Disk Address and Write", // op 6735 "DRDC ;RK08-P: Read Disk Command Register", // op 6736 "DCHP ;RK08-P: Load Disk Address and Check Parity", // op 6737 " ;", // op 6740 "DRDS ;RK08-P: Read Disk Status Register", // op 6741 "DCLS ;RK08-P: Clear Status Register", // op 6742 "DMNT ;RK08-P: Load Maintenance Register", // op 6743 " ;", // op 6744 "DSKD ;RK08-P: Skip on Disk Done", // op 6745 " ;", // op 6746 "DSKE ;RK08-P: Skip on Disk Error", // op 6747 " ;", // op 6750 "DCLA ;RK08-P: Clear All", // op 6751 "DRWC ;RK08-P: Read Word Count Register", // op 6752 "DLWC ;RK08-P: Load Word Count Register", // op 6753 "SER ;RX8E: Skip on Error Flag, Clear Flag", // op 6754 "DLCA ;RK08-P: Load Current Address Register", // op 6755 "INTR ;RX8E: Enable or Disable Disk Interrupts", // op 6756 "DRCA ;RK08-P: Read Current Address Register", // op 6757 " ;", // op 6760 "DTRA ;TC08-P: Read Status Register A", // op 6761 "DTCA ;TC08-P: Clear Status Register A", // op 6762 "SDSQ1 ;TD8-E: Skip if Quad Line Flag Set, Unti 1", // op 6763 "DTXA ;TC08-P: Load Status Register A", // op 6764 "SDLD1 ;TD8-E: Load Data Register from AC, Unit 1", // op 6765 "DTLA ;TC08-P: Clear and Load Status Register A", // op 6766 "SDRD1 ;TD8-E: Load Data Register into AC, Unit 1", // op 6767 " ;", // op 6770 "DTSF ;TC08-P: Skip on Flag", // op 6771 "DTRB ;TC08-P: Read Status Register B", // op 6772 "SDSQ0 ;TD8-E: Skip if Quad Line Flag Set, Unti 0", // op 6773 "DTXB ;TC08-P: Load Status Register B", // op 6774 "SDLD0 ;TD8-E: Load Data Register from AC, Unit 0", // op 6775 "SDRC0 ;TD8-E: Load Command, Mark Track, Status Regs into AC, Unit 0", // op 6776 "SDRD0 ;TD8-E: Load Data Register into AC, Unit 0", // op 6777 "No operation;", // op 7000 "IAC;Increment AC", // op 7001 "BSW ;Byte Swap AC", // op 7002 " ;", // op 7003 "RAL ;Rotate AC & L left", // op 7004 " ;", // op 7005 "RTL ;Rotate AC & L left twice", // op 7006 " ;", // op 7007 "RAR ;Rotate AC & L right", // op 7010 " ;", // op 7011 "RTR ;Rotate AC & L right twice", // op 7012 " ;", // op 7013 " ;", // op 7014 " ;", // op 7015 " ;", // op 7016 " ;", // op 7017 "CML ;Complement L", // op 7020 "CML IAC ;Complement L, Increment AC", // op 7021 "CML BSW ;Complement L, Byte Swap AC", // op 7022 "CML ;Complement L", // op 7023 "CML RAL ;Complement L, Rotate AC & L left", // op 7024 "CML ;Complement L", // op 7025 "CML RTL ;Complement L, Rotate AC & L left twice", // op 7026 "CML ;Complement L", // op 7027 "CML RAR ;Complement L, Rotate AC & L right", // op 7030 "CML ;Complement L", // op 7031 "CML RTR ;Complement L, Rotate AC & L right twice", // op 7032 "CML ;Complement L", // op 7033 "CML ;Complement L", // op 7034 "CML ;Complement L", // op 7035 "CML ;Complement L", // op 7036 "CML ;Complement L", // op 7037 "CMA ;Complement AC", // op 7040 "CIA ;2s Complement AC", // op 7041 " ;", // op 7042 " ;", // op 7043 " ;", // op 7044 " ;", // op 7045 " ;", // op 7046 " ;", // op 7047 " ;", // op 7050 " ;", // op 7051 " ;", // op 7052 " ;", // op 7053 " ;", // op 7054 " ;", // op 7055 " ;", // op 7056 " ;", // op 7057 "CML CMA ;Complement L, Complement AC", // op 7060 "CML CIA ;Complement L, 2s Complement AC", // op 7061 "CML ;Complement L", // op 7062 "CML ;Complement L", // op 7063 "CML ;Complement L", // op 7064 "CML ;Complement L", // op 7065 "CML ;Complement L", // op 7066 "CML ;Complement L", // op 7067 "CML ;Complement L", // op 7070 "CML ;Complement L", // op 7071 "CML ;Complement L", // op 7072 "CML ;Complement L", // op 7073 "CML ;Complement L", // op 7074 "CML ;Complement L", // op 7075 "CML ;Complement L", // op 7076 "CML ;Complement L", // op 7077 "CLL ;Clear L", // op 7100 "CLL IAC ;Clear L, Increment AC", // op 7101 "CLL BSW ;Clear L, Byte Swap AC", // op 7102 "CLL ;Clear L", // op 7103 "CLL RAL ;Clear L, Rotate AC & L left", // op 7104 "CLL ;Clear L", // op 7105 "CLL RTL ;Clear L, Rotate AC & L left twice", // op 7106 "CLL ;Clear L", // op 7107 "CLL RAR ;Clear L, Rotate AC & L right", // op 7110 "CLL ;Clear L", // op 7111 "CLL RTR ;Clear L, Rotate AC & L right twice", // op 7112 "CLL ;Clear L", // op 7113 "CLL ;Clear L", // op 7114 "CLL ;Clear L", // op 7115 "CLL ;Clear L", // op 7116 "CLL ;Clear L", // op 7117 "STL ;Set L", // op 7120 "STL IAC ;Set L, Increment AC", // op 7121 "STL BSW ;Set L, Byte Swap AC", // op 7122 "STL ;Set L", // op 7123 "STL RAL ;Set L, Rotate AC & L left", // op 7124 "STL ;Set L", // op 7125 "STL RTL ;Set L, Rotate AC & L left twice", // op 7126 "STL ;Set L", // op 7127 "STL RAR ;Set L, Rotate AC & L right", // op 7130 "STL ;Set L", // op 7131 "STL RTR ;Set L, Rotate AC & L right twice", // op 7132 "STL ;Set L", // op 7133 "STL ;Set L", // op 7134 "STL ;Set L", // op 7135 "STL ;Set L", // op 7136 "STL ;Set L", // op 7137 "CLL CMA ;Clear L, Complement AC", // op 7140 "CLL CIA ;Clear L, 2s Complement AC", // op 7141 "CLL ;Clear L", // op 7142 "CLL ;Clear L", // op 7143 "CLL ;Clear L", // op 7144 "CLL ;Clear L", // op 7145 "CLL ;Clear L", // op 7146 "CLL ;Clear L", // op 7147 "CLL ;Clear L", // op 7150 "CLL ;Clear L", // op 7151 "CLL ;Clear L", // op 7152 "CLL ;Clear L", // op 7153 "CLL ;Clear L", // op 7154 "CLL ;Clear L", // op 7155 "CLL ;Clear L", // op 7156 "CLL ;Clear L", // op 7157 "STL CMA ;Set L, Complement AC", // op 7160 "STL CIA ;Set L, 2s Complement AC", // op 7161 "STL ;Set L", // op 7162 "STL ;Set L", // op 7163 "STL ;Set L", // op 7164 "STL ;Set L", // op 7165 "STL ;Set L", // op 7166 "STL ;Set L", // op 7167 "STL ;Set L", // op 7170 "STL ;Set L", // op 7171 "STL ;Set L", // op 7172 "STL ;Set L", // op 7173 "STL ;Set L", // op 7174 "STL ;Set L", // op 7175 "STL ;Set L", // op 7176 "STL ;Set L", // op 7177 "CLA ;Clear AC", // op 7200 "CLA IAC ;Set AC to 0001", // op 7201 "CLA BSW ;Clear AC", // op 7202 "CLA IAC BSW;Set AC to 0100", // op 7203 "GLK ;Move L into AC", // op 7204 "CLA IAC RAL;Set AC to 0001, Rotate AC & L left", // op 7205 "CLA RTL ;Move L into AC bit 10", // op 7206 "CLA IAC RTL;Set AC to 0001, Rotate AC & L left twice", // op 7207 "CLA RAR ;Move L into AC bit 0", // op 7210 "CLA IAC RAR;Set AC to 0001, Rotate AC & L right", // op 7211 "CLA RTR ;Move L into AC bit 1", // op 7212 "CLA IAC RTR;Set AC to 0001, Rotate AC & L right twice", // op 7213 " ;", // op 7214 " ;", // op 7215 " ;", // op 7216 " ;", // op 7217 "CML CLA ;Complement L, Clear AC", // op 7220 "CML CLA IAC;Complement L, Set AC to 0001", // op 7221 "CML CLA BSW;Complement L, Clear AC", // op 7222 "CML CLA IAC BSW;Complement L, set AC to 0100", // op 7223 "CML GLK ;Complement L, Move L into AC", // op 7224 "CML CLA IAC RAL;Complement L, Set AC to 0001, Rotate AC & L left", // op 7225 "CML CLA RTL;Complement L, Move L into AC bit 10", // op 7226 "CML CLA IAC RTL;Complement L, Set AC to 0001, Rotate AC & L left twice", // op 7227 "CML CLA RAR;Complement L, Move L into AC bit 0", // op 7230 "CML CLA IAC RAR;Complement L, Set AC to 0001, Rotate AC & L right", // op 7231 "CML CLA RTR;Complement L, Move L into AC bit 1", // op 7232 "CML CLA IAC RTR;Complement L, Set AC to 0001, Rotate AC & L right twice", // op 7233 "CML ;Complement L", // op 7234 "CML ;Complement L", // op 7235 "CML ;Complement L", // op 7236 "CML ;Complement L", // op 7237 "STA ;Set AC to 7777", // op 7240 "CLA CMA IAC;Set AC to 0, set L", // op 7241 "CLA CMA BSW;Set AC to 7777, Byte swap AC", // op 7242 "CLA CMA IAC BSW;Clear AC", // op 7243 "CLA CMA RAL;Set AC to 7777, rotate AC & L left", // op 7244 "CLA CMA IAC RAL;Move L into AC", // op 7245 "CLA CMA RTL;Set AC to 7777, rotate AC & L left twice", // op 7246 "CLA CMA IAC RTL;Move L into AC bit 10", // op 7247 "CLA CMA RAR;Set AC to 7777, rotate AC & L right", // op 7250 "CLA CMA IAC RAR;Move L into AC bit 0", // op 7251 "CLA CMA RTR;Set AC to 7777, rotate AC & L right twice", // op 7252 "CLA CMA IAC RTR;Move L into AC bit 1", // op 7253 " ;", // op 7254 " ;", // op 7255 " ;", // op 7256 " ;", // op 7257 "CML STA ;Complement L, Set AC to 7777", // op 7260 "CML CLA CMA IAC;Complement L, Set AC to 0, set L", // op 7261 "CML CLA CMA BSW;Complement L, Set AC to 7777, Byte swap AC", // op 7262 "CML CLA CMA IAC BSW;Complement L, Clear AC", // op 7263 "CML CLA CMA RAL;Complement L, Set AC to 7777, rotate AC & L left", // op 7264 "CML CLA CMA IAC RAL;Complement L, Move L into AC", // op 7265 "CML CLA CMA RTL;Complement L, Set AC to 7777, rotate AC & L left twice", // op 7266 "CML CLA CMA IAC RTL;Complement L, Move L into AC bit 10", // op 7267 "CML CLA CMA RAR;Complement L, Set AC to 7777, rotate AC & L right", // op 7270 "CML CLA CMA IAC RAR;Complement L, Move L into AC bit 0", // op 7271 "CML CLA CMA RTR;Complement L, Set AC to 7777, rotate AC & L right twice", // op 7272 "CML CLA CMA IAC RTR;Complement L, Move L into AC bit 1", // op 7273 "CML ;Complement L", // op 7274 "CML ;Complement L", // op 7275 "CML ;Complement L", // op 7276 "CML ;Complement L", // op 7277 "CLL CLA ;Clear L, Clear AC", // op 7300 "CLL CLA IAC;Clear L, Set AC to 0001", // op 7301 "CLL CLA BSW;Clear L, Clear AC", // op 7302 "CLL CLA IAC BSW;Clear L, set AC to 0100", // op 7303 "CLL GLK ;Clear L, Move L into AC", // op 7304 "CLL CLA IAC RAL;Clear L, Set AC to 0001, Rotate AC & L left", // op 7305 "CLL CLA RTL;Clear L, Move L into AC bit 10", // op 7306 "CLL CLA IAC RTL;Clear L, Set AC to 0001, Rotate AC & L left twice", // op 7307 "CLL CLA RAR;Clear L, Move L into AC bit 0", // op 7310 "CLL CLA IAC RAR;Clear L, Set AC to 0001, Rotate AC & L right", // op 7311 "CLL CLA RTR;Clear L, Move L into AC bit 1", // op 7312 "CLL CLA IAC RTR;Clear L, Set AC to 0001, Rotate AC & L right twice", // op 7313 "CLL ;Clear L", // op 7314 "CLL ;Clear L", // op 7315 "CLL ;Clear L", // op 7316 "CLL ;Clear L", // op 7317 "STL CLA ;Set L, Clear AC", // op 7320 "STL CLA IAC;Set L, Set AC to 0001", // op 7321 "STL CLA BSW;Set L, Clear AC", // op 7322 "STL CLA IAC BSW;Set L, set AC to 0100", // op 7323 "STL GLK ;Set L, Move L into AC", // op 7324 "STL CLA IAC RAL;Set L, Set AC to 0001, Rotate AC & L left", // op 7325 "STL CLA RTL;Set L, Move L into AC bit 10", // op 7326 "STL CLA IAC RTL;Set L, Set AC to 0001, Rotate AC & L left twice", // op 7327 "STL CLA RAR;Set L, Move L into AC bit 0", // op 7330 "STL CLA IAC RAR;Set L, Set AC to 0001, Rotate AC & L right", // op 7331 "STL CLA RTR;Set L, Move L into AC bit 1", // op 7332 "STL CLA IAC RTR;Set L, Set AC to 0001, Rotate AC & L right twice", // op 7333 "STL ;Set L", // op 7334 "STL ;Set L", // op 7335 "STL ;Set L", // op 7336 "STL ;Set L", // op 7337 "CLL STA ;Clear L, Set AC to 7777", // op 7340 "CLL CLA CMA IAC;Clear L, Set AC to 0, set L", // op 7341 "CLL CLA CMA BSW;Clear L, Set AC to 7777, Byte swap AC", // op 7342 "CLL CLA CMA IAC BSW;Clear L, Clear AC", // op 7343 "CLL CLA CMA RAL;Clear L, Set AC to 7777, rotate AC & L left", // op 7344 "CLL CLA CMA IAC RAL;Clear L, Move L into AC", // op 7345 "CLL CLA CMA RTL;Clear L, Set AC to 7777, rotate AC & L left twice", // op 7346 "CLL CLA CMA IAC RTL;Clear L, Move L into AC bit 10", // op 7347 "CLL CLA CMA RAR;Clear L, Set AC to 7777, rotate AC & L right", // op 7350 "CLL CLA CMA IAC RAR;Clear L, Move L into AC bit 0", // op 7351 "CLL CLA CMA RTR;Clear L, Set AC to 7777, rotate AC & L right twice", // op 7352 "CLL CLA CMA IAC RTR;Clear L, Move L into AC bit 1", // op 7353 "CLL ;Clear L", // op 7354 "CLL ;Clear L", // op 7355 "CLL ;Clear L", // op 7356 "CLL ;Clear L", // op 7357 "STL STA ;Set L, Set AC to 7777", // op 7360 "STL CLA CMA IAC;Set L, Set AC to 0, set L", // op 7361 "STL CLA CMA BSW;Set L, Set AC to 7777, Byte swap AC", // op 7362 "STL CLA CMA IAC BSW;Set L, Clear AC", // op 7363 "STL CLA CMA RAL;Set L, Set AC to 7777, rotate AC & L left", // op 7364 "STL CLA CMA IAC RAL;Set L, Move L into AC", // op 7365 "STL CLA CMA RTL;Set L, Set AC to 7777, rotate AC & L left twice", // op 7366 "STL CLA CMA IAC RTL;Set L, Move L into AC bit 10", // op 7367 "STL CLA CMA RAR;Set L, Set AC to 7777, rotate AC & L right", // op 7370 "STL CLA CMA IAC RAR;Set L, Move L into AC bit 0", // op 7371 "STL CLA CMA RTR;Set L, Set AC to 7777, rotate AC & L right twice", // op 7372 "STL CLA CMA IAC RTR;Set L, Move L into AC bit 1", // op 7373 "STL ;Set L", // op 7374 "STL ;Set L", // op 7375 "STL ;Set L", // op 7376 "STL ;Set L", // op 7377 "NOP ;No Operation", // op 7400 "NOP ;Group 3 NOP", // op 7401 "HLT ;Halt", // op 7402 "SCL ;Step counter load;depends on mode)", // op 7403 "OSR ;OR Switch Register with AC", // op 7404 "MUY ;Multiply", // op 7405 "OSR HLT ;OR Switch Register with AC, Halt", // op 7406 "DVI ;Divide", // op 7407 "SKP ;Skip unconditionally", // op 7410 "NMI ;Normalize", // op 7411 "SKP HLTNMI ;Skip unconditionally, HaltNormalize", // op 7412 "SHL ;Shift left", // op 7413 "SKP OSR ;Skip unconditionally, OR Switch Register with AC", // op 7414 "ASR ;Arithmetic shift right", // op 7415 "SKP OSR HLT;Skip unconditionally, OR Switch Register with AC, Halt", // op 7416 "LSR ;Logical shift right", // op 7417 "SNL ;Skip on L <> 0", // op 7420 "MQL ;Load MQ from AC then clear AC", // op 7421 "SNL HLT ;Skip on L <> 0, Halt", // op 7422 "MQL SCL ;Load MQ from AC then clear AC, Step counter load", // op 7423 "SNL OSR ;Skip on L <> 0, OR Switch Register with AC", // op 7424 "MQL MUY ;Load MQ from AC then clear AC, Multiply", // op 7425 "SNL OSR HLT;Skip on L <> 0, OR Switch Register with AC, Halt", // op 7426 "MQL DVI ;Load MQ from AC then clear AC, Divide", // op 7427 "SZL ;Skip on L = 0", // op 7430 "SWAB ;Switch mode from A to B", // op 7431 "SZL HLT ;Skip on L = 0, Halt", // op 7432 "MQL SHL ;Shift left", // op 7433 "SZL OSR ;Skip on L = 0, OR Switch Register with AC", // op 7434 "MQL ASR ;Arithmetic shift right", // op 7435 "SZL OSR HLT;Skip on L = 0, OR Switch Register with AC, Halt", // op 7436 "MQL LSR ;Logical shift right", // op 7437 "SZA ;Skip on AC = 0", // op 7440 "SCA ;OR step counter with AC", // op 7441 "SZA HLT ;Skip on AC = 0, Halt", // op 7442 "DAD ;Double precision add;Mode B)", // op 7443 "SZA OSR ;Skip on AC = 0, OR Switch Register with AC", // op 7444 "DST ;Double precision store;Mode B)", // op 7445 "SZA OSR HLT;Skip on AC = 0, OR Switch Register with AC, Halt", // op 7446 "SWBA ;Switch mode from B to A", // op 7447 "SNA ;Skip on AC <> 0", // op 7450 "DPSZ ;Double precision skip if zero;Mode B)", // op 7451 "SNA HLT ;Skip on AC <> 0, Halt", // op 7452 "UNKNOWN! ;**Unknown**", // op 7453 "SNA OSR ;Skip on AC <> 0, OR Switch Register with AC", // op 7454 "UNKNOWN! ;**Unknown**", // op 7455 "SNA OSR HLT;Skip on AC <> 0, OR Switch Register with AC, Halt", // op 7456 "SAM ;Subtract AC from MQ", // op 7457 "SZA SNL ;Skip on AC = 0 or L <> 0", // op 7460 "UNKNOWN! ;**Unknown**", // op 7461 "SZA SNL HLT;Skip on AC = 0 or L <> 0, Halt", // op 7462 "UNKNOWN! ;**Unknown**", // op 7463 "SZA SNL OSR;Skip on AC = 0 or L <> 0, OR Switch Register with AC", // op 7464 "UNKNOWN! ;**Unknown**", // op 7465 "SZA SNL OSR HLT;Skip on AC = 0 or L <> 0, OR Switch Register with AC, Halt", // op 7466 "UNKNOWN! ;**Unknown**", // op 7467 "SNA SZL ;Skip on AC <> 0 and L = 0", // op 7470 "UNKNOWN! ;ILLEGAL!", // op 7471 "SNA SZL HLT;Skip on AC <> 0 and L = 0, Halt", // op 7472 "UNKNOWN! ;**Unknown**", // op 7473 "SNA SZL OSR;Skip on AC <> 0 and L = 0, OR Switch Register with AC", // op 7474 "UNKNOWN! ;**Unknown**", // op 7475 "SNA SZL OSR HLT;Skip on AC <> 0 and L = 0, OR Switch Register with AC, Halt", // op 7476 "UNKNOWN! ;**Unknown**", // op 7477 "SMA ;Skip on AC < 0", // op 7500 "MQA ;OR MQ with AC", // op 7501 "SMA HLT ;Skip on AC < 0, Halt", // op 7502 "MQA SCL ;OR MQ with AC, Step counter load", // op 7503 "SMA OSR ;Skip on AC < 0, OR Switch Register with AC", // op 7504 "MQA MUY ;OR MQ with AC, Multiply", // op 7505 "SMA OSR HLT;Skip on AC < 0, OR Switch Register with AC, Halt", // op 7506 "MQA DVI ;OR MQ with AC, Divide", // op 7507 "SPA ;Skip on AC >= 0", // op 7510 "UNKNOWN! ;ILLEGAL!", // op 7511 "SPA HLT ;Skip on AC >= 0, Halt", // op 7512 "MQA SHL ;OR MQ with AC, Shift left", // op 7513 "SPA OSR ;Skip on AC >= 0, OR Switch Register with AC", // op 7514 "MQA ASR ;OR MQ with AC, Arithmetic shift right", // op 7515 "SPA OSR HLT;Skip on AC >= 0, OR Switch Register with AC, Halt", // op 7516 "MQA LSR ;OR MQ with AC, Logical shift right", // op 7517 "SMA SNL ;Skip on AC < 0 or L <> 0", // op 7520 "SWP ;Swap MQ and AC", // op 7521 "SMA SNL HLT;Skip on AC < 0 or L <> 0, Halt", // op 7522 "SWP SCL ;Swap AC and MQ, Step counter load", // op 7523 "SMA SNL OSR;Skip on AC < 0 or L <> 0, OR Switch Register with AC", // op 7524 "SWP MUY ;Swap AC and MQ, Multiply", // op 7525 "SMA SNL OSR HLT;Skip on AC < 0 or L <> 0, OR Switch Register with AC, Halt", // op 7526 "SWP DVI ;Swap AC and MQ, Divide", // op 7527 "SPA SZL ;Skip on AC >= 0 and L = 0", // op 7530 "UNKNOWN! ;ILLEGAL!", // op 7531 "SPA SZL HLT;Skip on AC >= 0 and L = 0, Halt", // op 7532 "SWP SHL ;Swap AC and MQ, Shift left", // op 7533 "SPA SZL OSR;Skip on AC >= 0 and L = 0, OR Switch Register with AC", // op 7534 "SWP ASR ;Swap AC and MQ, Arithmetic shift right", // op 7535 "SPA SZL OSR HLT;Skip on AC >= 0 and L = 0, OR Switch Register with AC, Halt", // op 7536 "SWP LSR ;Swap AC and MQ, Logical shift right", // op 7537 "SMA SZA ;Skip on AC <= 0", // op 7540 "UNKNOWN! ;**Unknown**", // op 7541 "SMA SZA HLT;Skip on AC <= 0, Halt", // op 7542 "UNKNOWN! ;**Unknown**", // op 7543 "SMA SZA OSR;Skip on AC <= 0, OR Switch Register with AC", // op 7544 "UNKNOWN! ;**Unknown**", // op 7545 "SMA SZA OSR HLT;Skip on AC <= 0, OR Switch Register with AC, Halt", // op 7546 "UNKNOWN! ;**Unknown**", // op 7547 "SPA SNA ;Skip on AC > 0", // op 7550 "UNKNOWN! ;ILLEGAL!", // op 7551 "SPA SNA HLT;Skip on AC > 0, Halt", // op 7552 "UNKNOWN! ;**Unknown**", // op 7553 "SPA SNA OSR;Skip on AC > 0, OR Switch Register with AC", // op 7554 "UNKNOWN! ;**Unknown**", // op 7555 "SPA SNA OSR HLT;Skip on AC > 0, OR Switch Register with AC, Halt", // op 7556 "UNKNOWN! ;**Unknown**", // op 7557 "SMA SZA SNL;Skip on AC <= 0 or L <> 0", // op 7560 "UNKNOWN! ;**Unknown**", // op 7561 "SMA SZA SNL HLT;Skip on AC <= 0 or L <> 0, Halt", // op 7562 "UNKNOWN! ;**Unknown**", // op 7563 "SMA SZA SNL OSR;Skip on AC <= 0 or L <> 0, OR Switch Register with AC", // op 7564 "UNKNOWN! ;**Unknown**", // op 7565 "SMA SZA SNL OSR HLT;Skip on AC <= 0 or L <> 0, OR Switch Register with AC, Halt", // op 7566 "UNKNOWN! ;**Unknown**", // op 7567 "SPA SNA SZL;Skip on AC > 0 and L=0", // op 7570 "UNKNOWN! ;ILLEGAL!", // op 7571 "SPA SNA SZL HLT;Skip on AC > 0 and L=0, Halt", // op 7572 "DPIC ;Double precision increment;Mode B)", // op 7573 "SPA SNA SZL OSR;Skip on AC > 0 and L=0, OR Switch Register with AC", // op 7574 "DCM ;Double precision complement;Mode B)", // op 7575 "SPA SNA SZL OSR HLT;Skip on AC > 0 and L=0, OR Switch Register with AC, Halt", // op 7576 "UNKNOWN! ;**Unknown**", // op 7577 "CLA ;Clear AC", // op 7600 "CLA ;Clear AC", // op 7601 "CLA HLT ;Clear AC, Halt", // op 7602 "CLA SCL ;Clear AC, Step counter load", // op 7603 "LAS ;Load AC from the Switch Register", // op 7604 "CLA MUY ;Clear AC, Multiply", // op 7605 "LAS HLT ;Load AC from the Switch Register, Halt", // op 7606 "CLA DVI ;Clear AC, Divide", // op 7607 "SKP CLA ;Skip unconditionally, Clear AC", // op 7610 "UNKNOWN! ;ILLEGAL!", // op 7611 "SKP CLA HLT;Skip unconditionally, Clear AC, Halt", // op 7612 "CLA SHL ;Clear AC, Shift left", // op 7613 "SKP LAS ;Skip unconditionally, Load AC from the Switch Register", // op 7614 "CLA ASR ;Clear AC, Arithmetic shift right", // op 7615 "SKP LAS HLT;Skip unconditionally, Load AC from the Switch Register, Halt", // op 7616 "CLA LSR ;Clear AC, Logical shift right", // op 7617 "SNL CLA ;Skip on L <> 0, Clear AC", // op 7620 "CAM ;Clear AC and MQ", // op 7621 "SNL CLA HLT;Skip on L <> 0, Clear AC, Halt", // op 7622 "CAM SCL ;Clear AC and MQ, Step counter load", // op 7623 "SNL LAS ;Skip on L <> 0, Load AC from the Switch Register", // op 7624 "CAM MUY ;Clear AC and MQ, Multiply", // op 7625 "SNL LAS HLT;Skip on L <> 0, Load AC from the Switch Register, Halt", // op 7626 "CAM DVI ;Clear AC and MQ, Divide", // op 7627 "SZL CLA ;Skip on L = 0, Clear AC", // op 7630 "UNKNOWN! ;ILLEGAL!", // op 7631 "SZL CLA HLT;Skip on L = 0, Clear AC, Halt", // op 7632 "CAM SHL ;Clear AC and MQ, Shift left", // op 7633 "SZL LAS ;Skip on L = 0, Load AC from the Switch Register", // op 7634 "CAM ASR ;Clear AC and MQ, Arithmetic shift right", // op 7635 "SZL LAS HLT;Skip on L = 0, Load AC from the Switch Register, Halt", // op 7636 "CAM LSR ;Clear AC and MQ, Logical shift right", // op 7637 "SZA CLA ;Skip on AC = 0, Clear AC", // op 7640 "CLA SCA ;Step counter to AC", // op 7641 "SZA CLA HLT;Skip on AC = 0, Clear AC, Halt", // op 7642 "CLA DAD ;Clear AC, Double precision add ;Mode B)", // op 7643 "SZA LAS ;Skip on AC = 0, Load AC from the Switch Register", // op 7644 "CLA DST ;Clear AC, Double precision store;Mode B)", // op 7645 "SZA LAS HLT;Skip on AC = 0, Load AC from the Switch Register, Halt", // op 7646 "CLA SWBA ;Clear AC, Switch mode from B to A", // op 7647 "SNA CLA ;Skip on AC <> 0, Clear AC", // op 7650 "UNKNOWN! ILLEGAL!", // op 7651 "SNA CLA HLT;Skip on AC <> 0, Clear AC, Halt", // op 7652 "UNKNOWN! ;**Unknown**", // op 7653 "SNA LAS ;Skip on AC <> 0, Load AC from the Switch Register", // op 7654 "UNKNOWN! ;**Unknown**", // op 7655 "SNA LAS HLT;Skip on AC <> 0, Load AC from the Switch Register, Halt", // op 7656 "CLA SAM ;Clear AC, Subtract AC from MQ", // op 7657 "SZA SNL CLA;Skip on AC = 0 or L <> 0, Clear AC", // op 7660 "UNKNOWN! ;**Unknown**", // op 7661 "SZA SNL CLA HLT;Skip on AC = 0 or L <> 0, Clear AC, Halt", // op 7662 "UNKNOWN! ;**Unknown**", // op 7663 "SZA SNL LAS;Skip on AC = 0 or L <> 0, Load AC from the Switch Register", // op 7664 "UNKNOWN! ;**Unknown**", // op 7665 "SZA SNL LAS HLT;Skip on AC = 0 or L <> 0, Load AC from the Switch Register, Halt", // op 7666 "UNKNOWN! ;**Unknown**", // op 7667 "SNA SZL CLA;Skip on AC <> 0 and L = 0, Clear AC", // op 7670 "UNKNOWN! ;ILLEGAL!", // op 7671 "SNA SZL CLA HLT;Skip on AC <> 0 and L = 0, Clear AC, Halt", // op 7672 "UNKNOWN! ;**Unknown**", // op 7673 "SNA SZL LAS;Skip on AC <> 0 and L = 0, Load AC from the Switch Register", // op 7674 "UNKNOWN! ;**Unknown**", // op 7675 "SNA SZL LAS HLT;Skip on AC <> 0 and L = 0, Load AC from the Switch Register, Halt", // op 7676 "UNKNOWN! ;**Unknown**", // op 7677 "SMA CLA ;Skip on AC < 0, Clear AC", // op 7700 "ACL ;Load MQ into AC", // op 7701 "SMA CLA HLT;Skip on AC < 0, Clear AC, Halt", // op 7702 " ACL SCL ;Load MQ into AC, Step counter load", // op 7703 "SMA LAS ;Skip on AC < 0, Load AC from the Switch Register", // op 7704 " ACL MUY ;Load MQ into AC, Multiply", // op 7705 "SMA LAS HLT;Skip on AC < 0, Load AC from the Switch Register, Halt", // op 7706 "ACL DVI ;Load MQ into AC, Divide", // op 7707 "SPA CLA ;Skip on AC >= 0, Clear AC", // op 7710 "UNKNOWN! ;ILLEGAL!", // op 7711 "SPA CLA HLT;Skip on AC >= 0, Clear AC, Halt", // op 7712 " ACL SHL ;Load MQ into AC, Shift left", // op 7713 "SPA LAS ;Skip on AC >= 0, Load AC from the Switch Register", // op 7714 " ACL ASR ;Load MQ into AC, Arithmetic shift right", // op 7715 "SPA LAS HLT;Skip on AC >= 0, Load AC from the Switch Register, Halt", // op 7716 " ACL LSR ;Load MQ into AC, Logical shift right", // op 7717 "SMA SNL CLA;Skip on AC < 0 or L <> 0, Clear AC", // op 7720 "CLA SWP ;Load AC from MQ then clear MQ", // op 7721 "SMA SNL CLA HLT;Skip on AC < 0 or L <> 0, Clear AC, Halt", // op 7722 "CLA SWP SCL;Load AC from MQ then clear MQ, Step counter load", // op 7723 "SMA SNL LAS;Skip on AC < 0 or L <> 0, Load AC from the Switch Register", // op 7724 "CLA SWP MUY;Load AC from MQ then clear MQ, Multiply", // op 7725 "SMA SNL LAS HLT;Skip on AC < 0 or L <> 0, Load AC from the Switch Register, Halt", // op 7726 "CLA SWP DVI;Load AC from MQ then clear MQ, Divide", // op 7727 "SPA SZL CLA;Skip on AC >= 0 and L = 0, Clear AC", // op 7730 "UNKNOWN! ;ILLEGAL!", // op 7731 "SPA SZL CLA HLT;Skip on AC >= 0 and L = 0, Clear AC, Halt", // op 7732 "CLA SWP SHL;Load AC from MQ then clear MQ, Shift left", // op 7733 "SPA SZL LAS;Skip on AC >= 0 and L = 0, Load AC from the Switch Register", // op 7734 "CLA SWP ASR;Load AC from MQ then clear MQ, Arithmetic shift right", // op 7735 "SPA SZL LAS HLT;Skip on AC >= 0 and L = 0, Load AC from the Switch Register, Halt", // op 7736 "CLA SWP LSR;Load AC from MQ then clear MQ, Logical shift right", // op 7737 "SMA SZA CLA;Skip on AC <= 0, Clear AC", // op 7740 "UNKNOWN! ;**Unknown**", // op 7741 "SMA SZA CLA HLT;Skip on AC <= 0, Clear AC, Halt", // op 7742 "UNKNOWN! ;**Unknown**", // op 7743 "SMA SZA LAS;Skip on AC <= 0, Load AC from the Switch Register", // op 7744 "UNKNOWN! ;**Unknown**", // op 7745 "SMA SZA LAS HLT;Skip on AC <= 0, Load AC from the Switch Register, Halt", // op 7746 "UNKNOWN! ;**Unknown**", // op 7747 "SPA SNA CLA;Skip on AC > 0, Clear AC", // op 7750 "UNKNOWN! ;ILLEGAL!", // op 7751 "SPA SNA CLA HLT;Skip on AC > 0, Clear AC, Halt", // op 7752 "UNKNOWN! ;**Unknown**", // op 7753 "SPA SNA LAS;Skip on AC > 0, Load AC from the Switch Register", // op 7754 "UNKNOWN! ;**Unknown**", // op 7755 "SPA SNA LAS HLT;Skip on AC > 0, Load AC from the Switch Register, Halt", // op 7756 "UNKNOWN! ;**Unknown**", // op 7757 "SMA SZA SNL CLA;Skip on AC <= 0 or L <> 0, Clear AC", // op 7760 "UNKNOWN! ;**Unknown**", // op 7761 "SMA SZA SNL CLA HLT;Skip on AC <= 0 or L <> 0, Clear AC, Halt", // op 7762 "DLD;Double precision load;Mode B)", // op 7763 "SMA SZA SNL LAS;Skip on AC <= 0 or L <> 0, Load AC from the Switch Register", // op 7764 "UNKNOWN! ;**Unknown**", // op 7765 "SMA SZA SNL LAS HLT;Skip on AC <= 0 or L <> 0, Load AC from the Switch Register, Halt", // op 7766 "UNKNOWN! ;**Unknown**", // op 7767 "SPA SNA SZL CLA;Skip on AC > 0 and L=0, Clear AC", // op 7770 "UNKNOWN! ;ILLEGAL!", // op 7771 "SPA SNA SZL CLA HLT;Skip on AC > 0 and L=0, Clear AC, Halt", // op 7772 "CLA DPIC ;Clear AC, Double precision increment;Mode B)", // op 7773 "SPA SNA SZL LAS;Skip on AC > 0 and L=0, Load AC from the Switch Register", // op 7774 "CLA DCM ;Clear AC, Double precision complement;Mode B)", // op 7775 "SPA SNA SZL LAS HLT;Skip on AC > 0 and L=0, Load AC from the Switch Register, Halt", // op 7776 "UNKNOWN! ;**Unknown**", // op 7777 };
the_stack_data/88166.c
#include<stdlib.h> #include<stdio.h> int main() { char *str = "I Love China!!!"; str = "I love taiwan!!!!"; printf("%s\n",str); printf("%c\n",str[4]); printf("%p\n",str); printf("%p\n",&str[1]); return 0; }
the_stack_data/161219.c
/*! i8253 counter (timer device) */ #ifdef I8253 #include "i8253.h" #include "../interrupt.h" #include "../io.h" #include <kernel/errno.h> /*! timer device i8253, wrapper for arch_timer_t interface */ arch_timer_t i8253 = (arch_timer_t) { .min_interval = { 0, 0 }, .max_interval = { 0, 0 }, .init = i8253_init, .set_interval = i8253_set_time_to_counter, .get_interval_remainder = i8253_get_time_from_counter, .enable_interrupt = i8253_enable_interrupt, .disable_interrupt = i8253_disable_interrupt, .register_interrupt = i8253_register_interrupt }; /* accessed from 'arch' layer via: extern arch_timer_t i8253 */ /*! Calculate min and max counting interval, and set initial counter */ static void i8253_init () { COUNT_TO_TIME ( COUNT_MIN, &i8253.min_interval ); COUNT_TO_TIME ( COUNT_MAX, &i8253.max_interval ); i8253_set ( COUNT_MAX ); } /*! Load i8253 counter with 'cnt' */ static void i8253_set ( uint cnt ) { uint8 counter; outb ( I8253_CMD, I8253_CMD_LOAD ); counter = (uint8) ( cnt & 0x00ff ); outb ( I8253_CH0, counter ); counter = (uint8) ( ( cnt >> 8 ) & 0x00ff ); outb ( I8253_CH0, counter ); } /*! Read i8253 counter (its current value) */ static uint i8253_get () { uint lower_byte, higher_byte; outb ( I8253_CMD, I8253_CMD_LATCH ); lower_byte = inb ( I8253_CH0 ); higher_byte = inb ( I8253_CH0 ); return lower_byte + ( higher_byte << 8 ); } /*! Load counter with number equivalent to 'time' */ static void i8253_set_time_to_counter ( timespec_t *time ) { uint cnt; ASSERT ( time && time->tv_sec == 0 && time->tv_nsec <= i8253.max_interval.tv_nsec && time->tv_nsec >= i8253.min_interval.tv_nsec ); TIME_TO_COUNT ( time, cnt ); i8253_set ( cnt ); } /*! Read current value from counter and convert it into 'time' */ static void i8253_get_time_from_counter ( timespec_t *time ) { uint cnt; ASSERT ( time ); cnt = i8253_get(); COUNT_TO_TIME ( cnt, time ); } /*! Enable counter interrupts */ static void i8253_enable_interrupt () { arch_irq_enable ( IRQ_TIMER ); } /*! Disable counter interrupts */ static void i8253_disable_interrupt () { arch_irq_disable ( IRQ_TIMER ); } /*! Register function for counter interrupts */ static void i8253_register_interrupt ( void *handler ) { arch_register_interrupt_handler ( IRQ_TIMER, handler, &i8253 ); } #endif /* I8253 */
the_stack_data/175142225.c
/**************************************************** * Ercan Ersoy's Bootloader ATmega UART Source File * ****************************************************/ #ifdef __AVR__ #ifdef __AVR_MEGA__ #include "../../main.h" #if UART_ENABLE == 1 #define BAUDRATE (F_CPU / UART_BAUD_RATE / 16) void uart_initialization(void) // UART initialization function { UBRR0H = (BAUDRATE >> 8); UBRR0L = BAUDRATE; UCSR0B |= (1 << TXEN0); } void uart_write_character(char character) // UART write character function { while (!( UCSR0A & (1 << UDRE0))); UDR0 = character; } void uart_write_character_array(char *character_array) // UART write character array function { while(*character_array != '\0') { uart_write_character(*character_array); character_array++; } } void uart_close(void) // UART ending function { UCSR0B |= (0 << TXEN0) | (0 << RXEN0); } #endif #endif #endif
the_stack_data/237642222.c
#include <stdio.h> #include <stddef.h> #include <stdalign.h> int main(void) { printf("Alignment of char = %zu\n", alignof(char)); printf("Alignment of max_align_t = %zu\n", alignof(max_align_t)); printf("alignof(float[10]) = %zu\n", alignof(float[10])); printf("alignof(struct{char c; int n;}) = %zu\n", alignof(struct {char c; int n;})); }
the_stack_data/220456583.c
#include <stdio.h> // quickSort // // This public-domain C implementation by Darel Rex Finley. // // * This function assumes it is called with valid parameters. // // * Example calls: // quickSort(&myArray[0],5); // sorts elements 0, 1, 2, 3, and 4 // quickSort(&myArray[3],5); // sorts elements 3, 4, 5, 6, and 7 #define MAX_LEVELS 300 void qsi(int *a, int elements) { int piv, beg[MAX_LEVELS], end[MAX_LEVELS], i=0, L, R, swap ; beg[0]=0; end[0]=elements; while (i>=0) { L=beg[i]; R=end[i]-1; if (L < R) { piv=a[L]; while (L < R) { while (a[R]>=piv && L < R) R--; if (L < R) a[L++]=a[R]; while (a[L]<=piv && L < R) L++; if (L < R) a[R--]=a[L]; } a[L]=piv; beg[i+1]=L+1; end[i+1]=end[i]; end[i++]=L; if (end[i]-beg[i]>end[i-1]-beg[i-1]) { swap=beg[i]; beg[i]=beg[i-1]; beg[i-1]=swap; swap=end[i]; end[i]=end[i-1]; end[i-1]=swap; }} else { i--; }}} int main () { int a[] = {4, 65, 2, -31, 0, 99, 2, 83, 782, 1}; int n = sizeof a / sizeof a[0]; int i; for (i = 0; i < n; i++) printf("%d%s", a[i], i == n - 1 ? "\n" : " "); qsi(a, n); for (i = 0; i < n; i++) printf("%d%s", a[i], i == n - 1 ? "\n" : " "); return 0; }
the_stack_data/62637551.c
// KASAN: use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio // https://syzkaller.appspot.com/bug?id=41e0a5eed02e2971ae90 // status:0 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include <dirent.h> #include <endian.h> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <signal.h> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/prctl.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/types.h> #include <sys/wait.h> #include <time.h> #include <unistd.h> #include <linux/futex.h> static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } static int inject_fault(int nth) { int fd; fd = open("/proc/thread-self/fail-nth", O_RDWR); if (fd == -1) exit(1); char buf[16]; sprintf(buf, "%d", nth + 1); if (write(fd, buf, strlen(buf)) != (ssize_t)strlen(buf)) exit(1); return fd; } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); } static void setup_fault() { static struct { const char* file; const char* val; bool fatal; } files[] = { {"/sys/kernel/debug/failslab/ignore-gfp-wait", "N", true}, {"/sys/kernel/debug/fail_futex/ignore-private", "N", false}, {"/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", "N", false}, {"/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", "N", false}, {"/sys/kernel/debug/fail_page_alloc/min-order", "0", false}, }; unsigned i; for (i = 0; i < sizeof(files) / sizeof(files[0]); i++) { if (!write_file(files[i].file, files[i].val)) { if (files[i].fatal) exit(1); } } } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 8; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 45); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[4] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: memcpy((void*)0x20000000, "/dev/kvm\000", 9); res = syscall(__NR_openat, 0xffffff9cul, 0x20000000ul, 0ul, 0ul); if (res != -1) r[0] = res; break; case 1: res = syscall(__NR_ioctl, r[0], 0xae01, 0ul); if (res != -1) r[1] = res; break; case 2: res = syscall(__NR_socket, 2ul, 3ul, 1); if (res != -1) r[2] = res; break; case 3: res = syscall(__NR_dup, r[2]); if (res != -1) r[3] = res; break; case 4: syscall(__NR_ioctl, r[3], 0x8912, 0x400200ul); break; case 5: *(uint32_t*)0x20001080 = 0; *(uint32_t*)0x20001084 = 0; *(uint64_t*)0x20001088 = 0; *(uint64_t*)0x20001090 = 0; *(uint64_t*)0x20001098 = 0; *(uint64_t*)0x200010a0 = 0; *(uint8_t*)0x200010a8 = 0; *(uint8_t*)0x200010a9 = 0; *(uint8_t*)0x200010aa = 0; *(uint8_t*)0x200010ab = 0; *(uint8_t*)0x200010ac = 0; *(uint8_t*)0x200010ad = 0; *(uint8_t*)0x200010ae = 0; *(uint8_t*)0x200010af = 0; *(uint8_t*)0x200010b0 = 0; *(uint8_t*)0x200010b1 = 0; *(uint8_t*)0x200010b2 = 0; *(uint8_t*)0x200010b3 = 0; *(uint8_t*)0x200010b4 = 0; *(uint8_t*)0x200010b5 = 0; *(uint8_t*)0x200010b6 = 0; *(uint8_t*)0x200010b7 = 0; *(uint8_t*)0x200010b8 = 0; *(uint8_t*)0x200010b9 = 0; *(uint8_t*)0x200010ba = 0; *(uint8_t*)0x200010bb = 0; *(uint8_t*)0x200010bc = 0; *(uint8_t*)0x200010bd = 0; *(uint8_t*)0x200010be = 0; *(uint8_t*)0x200010bf = 0; *(uint8_t*)0x200010c0 = 0; *(uint8_t*)0x200010c1 = 0; *(uint8_t*)0x200010c2 = 0; *(uint8_t*)0x200010c3 = 0; *(uint8_t*)0x200010c4 = 0; *(uint8_t*)0x200010c5 = 0; *(uint8_t*)0x200010c6 = 0; *(uint8_t*)0x200010c7 = 0; *(uint8_t*)0x200010c8 = 0; *(uint8_t*)0x200010c9 = 0; *(uint8_t*)0x200010ca = 0; *(uint8_t*)0x200010cb = 0; *(uint8_t*)0x200010cc = 0; *(uint8_t*)0x200010cd = 0; *(uint8_t*)0x200010ce = 0; *(uint8_t*)0x200010cf = 0; *(uint8_t*)0x200010d0 = 0; *(uint8_t*)0x200010d1 = 0; *(uint8_t*)0x200010d2 = 0; *(uint8_t*)0x200010d3 = 0; *(uint8_t*)0x200010d4 = 0; *(uint8_t*)0x200010d5 = 0; *(uint8_t*)0x200010d6 = 0; *(uint8_t*)0x200010d7 = 0; *(uint8_t*)0x200010d8 = 0; *(uint8_t*)0x200010d9 = 0; *(uint8_t*)0x200010da = 0; *(uint8_t*)0x200010db = 0; *(uint8_t*)0x200010dc = 0; *(uint8_t*)0x200010dd = 0; *(uint8_t*)0x200010de = 0; *(uint8_t*)0x200010df = 0; *(uint8_t*)0x200010e0 = 0; *(uint8_t*)0x200010e1 = 0; *(uint8_t*)0x200010e2 = 0; *(uint8_t*)0x200010e3 = 0; *(uint8_t*)0x200010e4 = 0; *(uint8_t*)0x200010e5 = 0; *(uint8_t*)0x200010e6 = 0; *(uint8_t*)0x200010e7 = 0; syscall(__NR_ioctl, r[1], 0x4010ae67, 0x20001080ul); break; case 6: *(uint64_t*)0x20000140 = 0; *(uint32_t*)0x20000148 = 0; *(uint32_t*)0x2000014c = 0; syscall(__NR_ioctl, r[1], 0x4010ae67, 0x20000140ul); break; case 7: *(uint64_t*)0x20000180 = 0; *(uint32_t*)0x20000188 = 0; *(uint32_t*)0x2000018c = 0; inject_fault(0); syscall(__NR_ioctl, r[1], 0x4010ae68, 0x20000180ul); break; } } int main(void) { syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); setup_fault(); for (procid = 0; procid < 6; procid++) { if (fork() == 0) { loop(); } } sleep(1000000); return 0; }
the_stack_data/116917.c
/** * sum2pi_x.c * * CRAFT demo app. Calculates pi*x in a computationally-heavy way that * demonstrates how to use CRAFT without being too complicated. * * September 2013 */ #include <math.h> #include <stdio.h> #include <stdlib.h> /* macros */ #define ABS(x) ( ((x) < 0.0) ? (-(x)) : (x) ) /* constants */ #define PI 3.1415926535897932384626433832795 #define EPS 5e-7 /* loop iterations; OUTER is X */ #define INNER 25 #define OUTER 500000 /* 'real' is double-precision if not pre-defined */ #ifndef real #define real double #endif /* sum type is the same as 'real' if not pre-defined */ #ifndef sum_type #define sum_type real #endif real pi = PI; real tmp, acc; sum_type sum = 0.0; real answer = (real)OUTER * PI; /* correct answer */ void sum2pi_x() { int i, j; for (i=0; i<OUTER; i++) { acc = 0.0; for (j=1; j<INNER; j++) { /* accumulatively calculate pi */ tmp = (real)pi / pow(2.0,j); acc += tmp; } sum += acc; } } int main() { printf("=== Sum2PI_X ===\n"); printf("sizeof(real)=%lu\n", sizeof(real)); printf("sizeof(sum_type)=%lu\n", sizeof(sum_type)); sum2pi_x(); double err = ABS((double)answer-(double)sum); printf(" RESULT: %.6e\n", sum); printf(" CORRECT: %.6e\n", answer); printf(" ERROR: %.6e\n", err); printf(" THRESH: %.6e\n", EPS*answer); if ((double)err < (double)EPS*answer) { printf("SUM2PI_X - SUCCESSFUL!\n"); } else { printf("SUM2PI_X - FAILED!!!\n"); } return 0; }
the_stack_data/691118.c
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <net/if.h> #include <netinet/if_ether.h> #include <arpa/inet.h> #include <linux/if_packet.h> #include <net/ethernet.h> #define BUFFER_LEN 64 int main(int argc, char *argv[]){ if (argc != 2) { printf("Error: Must pass one net interface name. Example:\n" "\t$ raw_socket_tx_no_eth eth0\n"); return -1; } /* send a packet through raw socket */ int sd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); if (sd < 0) { fprintf(stderr, "Error openning raw socket! Make sure this is launched with root priviliges\n"); return -1; } /* Get index of interface to send packet over */ struct ifreq ifreq_i; memset(&ifreq_i, 0, sizeof(ifreq_i)); strncpy(ifreq_i.ifr_name, argv[1], IFNAMSIZ-1); if (ioctl(sd, SIOCGIFINDEX, &ifreq_i) < 0) { fprintf(stderr, "Error trying to find net device index\n"); return -1; } printf("Netdev index for %s: %d\n", argv[1], ifreq_i.ifr_ifindex); /* TX buffer */ unsigned char *buffer = (unsigned char *) malloc(BUFFER_LEN); memset(buffer, 0, BUFFER_LEN); size_t pkt_len = 0; /* Dest MAC */ buffer[pkt_len++] = 0xFF; buffer[pkt_len++] = 0xFF; buffer[pkt_len++] = 0xFF; buffer[pkt_len++] = 0xFF; buffer[pkt_len++] = 0xFF; buffer[pkt_len++] = 0xFF; /* Src MAC */ buffer[pkt_len++] = 0x01; buffer[pkt_len++] = 0x02; buffer[pkt_len++] = 0x03; buffer[pkt_len++] = 0x04; buffer[pkt_len++] = 0x05; buffer[pkt_len++] = 0x06; /* IPv4 EtherType */ buffer[pkt_len++] = 0x08; buffer[pkt_len++] = 0x00; /* Completely arbitrary pkt data */ buffer[pkt_len++] = 0xAA; buffer[pkt_len++] = 0xBB; buffer[pkt_len++] = 0xCC; buffer[pkt_len++] = 0xDD; struct sockaddr_ll saddr_ll; saddr_ll.sll_ifindex = ifreq_i.ifr_ifindex; saddr_ll.sll_halen = ETH_ALEN; /* man pages says we _should_ specify destination MAC address member * .sll_addr[0-5] but so far it hasn't negatively affected sending * any data */ /* send network packet */ int send_len = sendto(sd, buffer, pkt_len, 0, (const struct sockaddr*)&saddr_ll, sizeof(struct sockaddr_ll)); if (send_len < 0) { fprintf(stderr, "Error sending packet!\n"); return -1; } close(sd); free(buffer); return 0; }
the_stack_data/59511981.c
// clang-format off // Sanity check for arg names // RUN: %c-to-llvm %s | opt -load %analysis_pass -load %transform_pass -typeart \ // RUN: -typeart-stats \ // RUN: -typeart-no-heap=false \ // RUN: -typeart-alloca=true \ // RUN: -typeart-outfile=typeart_types.yaml // clang-format on void foo() { int a = 1; double b = 2.0; }
the_stack_data/154827630.c
#include <stdio.h> #include <string.h> #include <math.h> void nixu(char *a); int main() { char a[101], b[101], c[101], *pa; //a是原数组,b用来进行比较,c用来保留a的原型 int i, n, count; //n存放字符串长度,count代表魔镜做了几次 while(scanf("%s", a) != -1) //按照提议输入字符串,处理到文件尾 { strcpy(c, a); //把a复制给c备用 strcpy(b, a); //把a复制给b比较 count = 0; //给count赋初值 while(strcmp(a,b) == 0) //当a和b字符串相等时,循环继续 { n = strlen(a); //求出字符串长度 pa = a+n/2; //找到指针pa从a字符数组中间截断的位置 strcpy(b, pa); //把从pa位置以后的字符串复制到b字符数组上 *pa = '\0'; //再给a字符数组前半段加上结束标志 nixu(b); //调取函数逆序摆放b count++; //计数加一,循环结束count会多加一次 } int q = pow(2,count - 1); //用减半的次数来算出长度的倍数 printf("%d\n",strlen(c)/q); //用总长度减去倍数,就得到了最短长度 } } void nixu(char *a) //逆序字符数组的函数,之前的题有出现过 { int n = strlen(a); char *pa, *pb; for(pa = a, pb = a+n-1; pa < pb; pa++,pb--) { char m = *pa; *pa = *pb; *pb = m; } }
the_stack_data/132951968.c
#ifdef __linux__ # define _DEFAULT_SOURCE #endif #include <endian.h> int main(void) { return !htole32(23); }
the_stack_data/38868.c
#include<stdio.h> struct list { int x; struct list * next; }; typedef struct list node; node *push(node*); node *pop(node*); void show(node*); int main() { node *top; //top=(node*)malloc(sizeof(node)); top=push(top); top=pop(top); show(top); return 0; } node *push(node *top) { node *head1; head1=(node*)malloc(sizeof(node)); scanf("%d",&head1->x); head1->next=top; top = head1; return top; } node *pop(node *top) { if(top=NULL) { printf("UNDERFLOW"); return; } else { printf("\n%d",top->x); return top->next; } } void show(node *top) { node * head1; head1=top; while(head1!=NULL) { printf("%d",head1->next); head1=head1->next; } }
the_stack_data/170452647.c
#include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d\n", a+ b); return 0; }
the_stack_data/64200558.c
/*Fecha: 08/02/2022 * Autor: Andres C. Lopez R. * Subject: Parallel and Distributed Computing. * Topic: Construction of the first Benchmark * Description: Application that allows evaluating the performance of a specific aspect of the computer using matrix multiplication with the calssical algorithm (rows x columns) */ /*Interfaces*/ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <unistd.h> #include <sys/time.h> #include <errno.h> /*CONSTANTS*/ struct timespec inicio, fin; /* -------------------------------------Funciones ------------------------------------*/ /* @brief: Get the init time*/ void sampleStart(){ clock_gettime(CLOCK_MONOTONIC, &inicio); } /* @brief: Get the end time */ void sampleEnd(){ clock_gettime(CLOCK_MONOTONIC, &fin); double totalTime; totalTime = (fin.tv_sec - inicio.tv_sec)*1e9; totalTime = (totalTime + (fin.tv_nsec - inicio.tv_nsec))*1e-9; printf ("\nTotal time: %f seg \n", totalTime); } /* @brief: Function that generates a random number @return: Random number between 0.001 and 9.999 with double precision --- getpid(): Gets an ID of a rand porcess of the system */ double randNumber(){ float min = 0.001, max = 9.999; static int first = -1; if(first = (first < 0)){ srand(time(NULL) + getpid()); } if(min >= max){ return errno = EDOM, NAN; } return min + (float)rand()/((float)RAND_MAX/(max-min)); } /* @brief: Gives values for each space of a matrix @param size: Size of the matrix @return MI: Matrix with values in its spaces */ void InitMatrix(int SZ, double *Ma, double *Mb, double *Mr){ int i,j,k; for(i=0; i < SZ; ++i){ for(j=0;j<SZ;++j){ Ma[j+i*SZ] = randNumber(); Mb[j+i*SZ] = randNumber(); Mr[j+i*SZ] = 0.0; } } } /*Varaible of high value to reserve memory*/ #define DATA_SZ (1024*1024*64*3) /*Memory space acordin reserve memory value*/ static double MEM_CHUNK[DATA_SZ]; /* @brief: Gives values for each space of a matrix @param size: Size of the matrix @return MI: Matrix with values in its spaces */ void initMatrix(int SZ, double *Ma, double *Mb, double *Mr){ int i, j, k; for(i=0; i<SZ; ++i){ for(j=0;j<SZ;++j){ Ma[j+i*SZ] = 3.0*(i-j); Mb[j+i*SZ] = 2.8*(j+i); Mr[j+i*SZ] = 0.0; } } } /* @brief: Print a matrix @param SZ: Size of the matrix @return *M: Matrix to print */ void printMatrix(int SZ, double *M){ int i,j; for (i=0;i<SZ; ++i){ for (j=0;j<SZ; ++j){ printf(" %f ",M[j+i*SZ]); } printf("\n"); } } /* @brief: Multiply matrices @param size: Size of matrix @param a: Matriz A to multiply @param b: Matriz B to multiply @param c: Total matrix of multiplication --- */ void matrixMultiply (int size, double *Ma, double *Mb, double *Mr){ int i, j, k; for(i=0; i<size; ++i){ for(j=0; j<size; ++j){ /*Necesita puteros auxiliares*/ double *pA, *pB; double sumaAuxiliar = 0.0; pA = Ma + i; pB = Mb + j; for(k = 0; k < size; ++k, pA += size, pB++){ sumaAuxiliar += (*pA * *pB); } Mr[j*size+i] = sumaAuxiliar; } } } /* Se imlementa paso a paso benchmark Multiaplicacion de matrices Algoritmo clasico (filas x columnas) de matrices de igual diemnsion */ int main(int argc, char *argv[]) { /*Matrix size*/ int N = (int) atof(argv[1]); /*Apuntamos los vectores (creacion) a espacio de memoria reservada con dimension NxN */ double *Ma, *Mb, *Mr; Ma = MEM_CHUNK; Mb = Ma + N*N; Mr = Mb + N*N; initMatrix(N, Ma, Mb, Mr); sampleStart(); matrixMultiply(N, Ma, Mb, Mr); sampleEnd(); return 0; } /* Compile gcc main_bench.c -o mmSerieC Execute time ./a.out N--> N : Any number */
the_stack_data/150141011.c
// This is free and unencumbered software released into the public domain. // // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any purpose, commercial or non-commercial, and by any // means. // // In jurisdictions that recognize copyright laws, the author or authors // of this software dedicate any and all copyright interest in the // software to the public domain. We make this dedication for the benefit // of the public at large and to the detriment of our heirs and // successors. We intend this dedication to be an overt act of // relinquishment in perpetuity of all present and future rights to this // software under copyright law. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // // For more information, please refer to <http://unlicense.org/> #include <stdlib.h> #include <string.h> int main(int argc, const char *const argv[], const char *const envp[]) { if ((1 < argc) && (0 == strcmp(argv[1], "all"))) { if (0 == *envp) { return 0; } else { return 1; } } else { const char *const str = getenv("PROCESS_ENV_TEST"); if (str) { return atoi(str); } else { return 0; } } }
the_stack_data/114444.c
//===- AArch64Disassembler.cpp - Disassembler for AArch64 ISA -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file contains the functions necessary to decode AArch64 instruction // bitpatterns into MCInsts (with the help of TableGenerated information from // the instruction definitions). // //===----------------------------------------------------------------------===// /* Capstone Disassembly Engine */ /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */ #ifdef CAPSTONE_HAS_ARM64 #include <stdio.h> // DEBUG #include <stdlib.h> #include "../../cs_priv.h" #include "../../utils.h" #include "AArch64Disassembler.h" #include "../../MCDisassembler.h" #include "../../MCFixedLenDisassembler.h" #include "../../MCInst.h" #include "../../MCInstrDesc.h" #include "../../MCRegisterInfo.h" #include "AArch64AddressingModes.h" #include "AArch64BaseInfo.h" // Forward declare these because the autogenerated code will reference them. // Definitions are further down. static bool Check(DecodeStatus *Out, DecodeStatus In) { switch (In) { default: // never reach return true; case MCDisassembler_Success: // Out stays the same. return true; case MCDisassembler_SoftFail: *Out = In; return true; case MCDisassembler_Fail: *Out = In; return false; } // llvm_unreachable("Invalid DecodeStatus!"); } // Hacky: enable all features for disassembler uint64_t AArch64_getFeatureBits(int feature) { // enable all features return (uint64_t)-1; } #define Success MCDisassembler_Success #define Fail MCDisassembler_Fail #define SoftFail MCDisassembler_SoftFail static inline unsigned checkFeatureRequired(unsigned Bits, unsigned Feature, bool Require) { // extended from original arm module return Require; } #define GET_SUBTARGETINFO_ENUM #include "AArch64GenSubtargetInfo.inc" #include "CapstoneAArch64Module.h" static DecodeStatus _getInstruction(cs_struct *ud, MCInst *MI, const uint8_t *code, size_t code_len, uint16_t *Size, uint64_t Address, MCRegisterInfo *MRI) { uint32_t insn; DecodeStatus result; size_t i; MI->MRI = MRI; if (code_len < 4) { // not enough data *Size = 0; return MCDisassembler_Fail; } if (MI->flat_insn->detail) { memset(MI->flat_insn->detail, 0, offsetof(cs_detail, arm64) + sizeof(cs_arm64)); for (i = 0; i < ARR_SIZE(MI->flat_insn->detail->arm64.operands); i++) MI->flat_insn->detail->arm64.operands[i].vector_index = -1; } if (MODE_IS_BIG_ENDIAN(ud->mode)) insn = (code[3] << 0) | (code[2] << 8) | (code[1] << 16) | ((uint32_t)code[0] << 24); else insn = ((uint32_t)code[3] << 24) | (code[2] << 16) | (code[1] << 8) | (code[0] << 0); // Calling the auto-generated decoder function. result = decodeInstruction_4(DecoderTable32, MI, insn, Address, 0, 0); if (result != MCDisassembler_Fail && MI->Opcode) { *Size = 4; return result; } result = decodeInstruction_4(DecoderTableFallback32, MI, insn, Address, 0, 0); if (result == MCDisassembler_Success) { *Size = 4; return result; } // invalid code MCInst_clear(MI); *Size = 0; return MCDisassembler_Fail; } bool AArch64_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info) { DecodeStatus status = _getInstruction((cs_struct *)ud, instr, code, code_len, size, address, (MCRegisterInfo *)info); return status == MCDisassembler_Success; } void AArch64_init(MCRegisterInfo *MRI) { /* InitMCRegisterInfo(AArch64RegDesc, 661, RA, PC, AArch64MCRegisterClasses, 100, AArch64RegUnitRoots, 115, AArch64RegDiffLists, AArch64LaneMaskLists, AArch64RegStrings, AArch64RegClassStrings, AArch64SubRegIdxLists, 100, AArch64SubRegIdxRanges, AArch64RegEncodingTable); */ MCRegisterInfo_InitMCRegisterInfo( MRI, AArch64RegDesc, ARR_SIZE(AArch64RegDesc), 0, 0, AArch64MCRegisterClasses, ARR_SIZE(AArch64MCRegisterClasses), 0, 0, AArch64RegDiffLists, 0, AArch64SubRegIdxLists, ARR_SIZE(AArch64SubRegIdxLists), 0); } #endif
the_stack_data/133302.c
/*Exercise 2 - Selection Write a program to calculate the amount to be paid for a rented vehicle. • Input the distance the van has travelled • The first 30 km is at a rate of 50/= per km. • The remaining distance is calculated at the rate of 40/= per km. e.g. Distance -> 20 Amount = 20 x 50 = 1000 Distance -> 50 Amount = 30 x 50 + (50-30) x 40 = 2300*/ #include <stdio.h> int main() { float distance; printf("Enter the distance the van go :"); scanf("%f",&distance); if (distance<=30) { printf("the amount to be paid :%.2f",distance*50); } else printf("the amount to be paid :%.2f",(30*50)+(distance-30)*40); return 0; }
the_stack_data/43887850.c
/* Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory Written by Chunhua Liao, Pei-Hung Lin, Joshua Asplund, Markus Schordan, and Ian Karlin (email: [email protected], [email protected], [email protected], [email protected], [email protected]) LLNL-CODE-732144 All rights reserved. This file is part of DataRaceBench. For details, see https://github.com/LLNL/dataracebench. Please also see the LICENSE file for our additional BSD notice. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the disclaimer below. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the disclaimer (as noted below) in the documentation and/or other materials provided with the distribution. * Neither the name of the LLNS/LLNL nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* A loop with loop-carried anti-dependence. Data race pair: a[i+1]@64:10 vs. a[i]@64:5 */ #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { int i; int len = 1000; int a[1000]; #pragma omp parallel for private(i) for (i=0; i<len; i++) a[i]= i; for (i=0;i< len -1 ;i++) a[i]=a[i+1]+1; printf ("a[500]=%d\n", a[500] ); return 0; }
the_stack_data/150140399.c
// this source is derived from CHILL AST originally from file '/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/fdtd-2d/kernel.c' as parsed by frontend compiler rose void kernel_fdtd_2d(int tmax, int nx, int ny, double ex[1000 + 0][1200 + 0], double ey[1000 + 0][1200 + 0], double hz[1000 + 0][1200 + 0], double _fict_[500 + 0]) { int t10; int t8; int t6; int t4; int t2; for (t2 = 0; t2 <= tmax - 1; t2 += 1) { for (t4 = 0; t4 <= ny - 1; t4 += 1) ey[0][t4] = _fict_[t2]; for (t4 = 1; t4 <= nx - 1; t4 += 20) for (t6 = t4; t6 <= (t4 + 19 < nx - 1 ? t4 + 19 : nx - 1); t6 += 1) for (t8 = 0; t8 <= ny - 1; t8 += 16) for (t10 = t8; t10 <= (ny - 1 < t8 + 15 ? ny - 1 : t8 + 15); t10 += 1) ey[t6][t10] = ey[t6][t10] - 0.5 * (hz[t6][t10] - hz[t6 - 1][t10]); for (t4 = 0; t4 <= nx - 1; t4 += 20) for (t6 = t4; t6 <= (t4 + 19 < nx - 1 ? t4 + 19 : nx - 1); t6 += 1) for (t8 = 1; t8 <= ny - 1; t8 += 16) for (t10 = t8; t10 <= (ny - 1 < t8 + 15 ? ny - 1 : t8 + 15); t10 += 1) ex[t6][t10] = ex[t6][t10] - 0.5 * (hz[t6][t10] - hz[t6][t10 - 1]); for (t4 = 0; t4 <= nx - 2; t4 += 20) for (t6 = t4; t6 <= (t4 + 19 < nx - 2 ? t4 + 19 : nx - 2); t6 += 1) for (t8 = 0; t8 <= ny - 2; t8 += 16) for (t10 = t8; t10 <= (ny - 2 < t8 + 15 ? ny - 2 : t8 + 15); t10 += 1) hz[t6][t10] = hz[t6][t10] - 0.69999999999999996 * (ex[t6][t10 + 1] - ex[t6][t10] + ey[t6 + 1][t10] - ey[t6][t10]); } }
the_stack_data/888814.c
/* parent.c * A test program that calls itself recursively. * In the last step of the recursion child.c is started. * Do not use with large CHILDREN or DEPTH. */ #include <syscall.h> #include <stdlib.h> #include <stdio.h> #define CHILDREN 4 #define DEPTH 3 int main(int argc, char* argv[]) { int i; int pid[CHILDREN]; int depth = DEPTH - 1; char cmd[10]; if (argc == 2) depth = atoi(argv[1]) - 1; for(i = 0; i < CHILDREN; i++) { if (depth) snprintf(cmd, 10, "parent %i", depth); else snprintf(cmd, 10, "child %i", i); printf("%s\n", cmd); pid[i] = exec(cmd); } // if (depth <= 1) { for(i = 0; i < CHILDREN; i++) { wait(pid[i]); } } exit(0); }
the_stack_data/23576131.c
/* ** EPITECH PROJECT, 2021 ** task09 ** File description: ** mr_strlowcase */ char *my_strlowcase(char *str) { int index = 0; while (str[index] != '\0') { if (str[index] >= 'A' && str[index] <= 'Z') { str[index] += 'A' - 'a'; } index++; } return str; }
the_stack_data/1124919.c
int printf(const char *format,...); // Test int main() { float i=5.5666; printf("i=%f\n", i); double i2 = 4.444; printf("i2=%f\n",i2); char j = 49; printf("j=%c\n", j); int k = 5; printf("k=%d\n", k); char s[5] = "5\t6\n"; s[2] = 33; printf("%s", s); return 0; }
the_stack_data/45450221.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/stat.h> void mixColors(char red1, char green1, char blue1, char alpha1, char red2, char green2, char blue2, char alpha2, char red3, char green3, char blue3, char alpha3, char red4, char green4, char blue4, char alpha4, char *r, char *g, char *b, char *a) { *r = (char)round((float)(red1&0xFF) * 0.25 + (float)(red2&0xFF) * 0.25 + (float)(red3&0xFF) * 0.25 + (float)(red4&0xFF) * 0.25); //printf("r:%i ", *r); *g = (char)round((float)(green1&0xFF) * 0.25 + (float)(green2&0xFF) * 0.25 + (float)(green3&0xFF) * 0.25 + (float)(green4&0xFF) * 0.25); //printf("g:%i ", *g); *b = (char)round((float)(blue1&0xFF) * 0.25 + (float)(blue2&0xFF) * 0.25 + (float)(blue3&0xFF) * 0.25 + (float)(blue4&0xFF) * 0.25); //printf("b:%i ", *b); *a = (char)round((float)(alpha1&0xFF) * 0.25 + (float)(alpha2&0xFF) * 0.25 + (float)(alpha3&0xFF) * 0.25 + (float)(alpha4&0xFF) * 0.25); //printf("a:%i ", *a); } void writeTexCFile(char *CFileName, int **imgData, int imgWidth, int imgHeight, int **maskData, int maskWidth, int maskHeight) { int i, x, y, h, w; FILE *CFile; char *NewName; char *NameDotC; char *NameDotH; NewName = malloc(strlen(CFileName)+9); sprintf(NewName, "%sTexData%c",CFileName, '\0'); NameDotC = malloc(strlen(NewName)+4); sprintf(NameDotC, "%s.c%c",NewName, '\0'); CFile = fopen(NameDotC, "wb"); free(NameDotC); if (!CFile) return; int pow2Width, pow2Height; // find the next highest width // closest to the power of 2 for (i=1; i < 32; i++) if (!((imgWidth-1) >> i)) break; pow2Width = 1 << i; // find the next highest height // closest to the power of 2 for (i=1; i < 32; i++) if (!((imgHeight-1) >> i)) break; pow2Height = 1 << i; //printf("pow2Width %i\n", pow2Width); //printf("pow2Height %i\n", pow2Height); // used for scaling the size of the image float imgRelMultiplierX, imgRelMultiplierY; imgRelMultiplierX = (float)(imgWidth-1) / (float)(pow2Width-1); imgRelMultiplierY = (float)(imgHeight-1) / (float)(pow2Height-1); // used for scaling the size of the mask float maskRelMultiplierX, maskRelMultiplierY; maskRelMultiplierX = (float)(maskWidth-1) / (float)(pow2Width-1); maskRelMultiplierY = (float)(maskHeight-1) / (float)(pow2Height-1); // write the .c file fprintf(CFile, "#include <GL/gl.h>\n\n"); // add texture sizes for MIP mapping w = pow2Width; h = pow2Height; // find the largest length int largestLgth; if (w > h) largestLgth = w; else largestLgth = h; // find the texture count for MIP mapping int textureCount = 0; for (i=1; i <= largestLgth; i=i*2) textureCount++; fprintf(CFile, "//Texture Count for MIP Mapping\n"); fprintf(CFile, "int %sTexCount = %i;\n\n", CFileName, textureCount); fprintf(CFile, "//Texture Sizes for MIP Mapping\n"); // print the texture sizes to file fprintf(CFile, "int %sTexWidth[%i]={\n", CFileName, textureCount); for (i=1; i <= largestLgth; i=i*2) { fprintf(CFile, "%i,\n", (int)w); w = round((float)w / 2.0); } fprintf(CFile, "};\n\n"); fprintf(CFile, "int %sTexHeight[%i]={\n", CFileName, textureCount); for (i=1; i <= largestLgth; i=i*2) { fprintf(CFile, "%i,\n", (int)h); h = round((float)h / 2.0); } fprintf(CFile, "};\n\n"); // find the texture data size for MIP mapping int textureDataSizeForMIP = 0; w = pow2Width; h = pow2Height; for (i=1; i <= largestLgth; i=i*2) { textureDataSizeForMIP += w * h; w = round((float)w / 2.0); h = round((float)h / 2.0); } textureDataSizeForMIP = textureDataSizeForMIP * 4; fprintf(CFile, "//Texture Data for MIP Mapping\n"); fprintf(CFile, "GLubyte %s[%i]={\n", NewName, textureDataSizeForMIP); // move the image data into a buffer with a width // and height that is equated with the power of 2 char **texDataPow2Red; char **texDataPow2Green; char **texDataPow2Blue; char **texDataPow2Alpha; texDataPow2Red = (char **)malloc(pow2Width * sizeof(char *)); for (i = 0; i < pow2Width; i++) texDataPow2Red[i] = (char *)malloc(pow2Height * sizeof(char)); texDataPow2Green = (char **)malloc(pow2Width * sizeof(char *)); for (i = 0; i < pow2Width; i++) texDataPow2Green[i] = (char *)malloc(pow2Height * sizeof(char)); texDataPow2Blue = (char **)malloc(pow2Width * sizeof(char *)); for (i = 0; i < pow2Width; i++) texDataPow2Blue[i] = (char *)malloc(pow2Height * sizeof(char)); texDataPow2Alpha = (char **)malloc(pow2Width * sizeof(char *)); for (i = 0; i < pow2Width; i++) texDataPow2Alpha[i] = (char *)malloc(pow2Height * sizeof(char)); for (y=0; y < pow2Height; y++) for (x=0; x < pow2Width; x++) { texDataPow2Red[x][y] = (char)((imgData[(int)round(x*imgRelMultiplierX)] [(int)round(((pow2Height-1)-y)*imgRelMultiplierY)] & 0xFF0000) >> 16); texDataPow2Green[x][y] = (char)((imgData[(int)round(x*imgRelMultiplierX)] [(int)round(((pow2Height-1)-y)*imgRelMultiplierY)] & 0x00FF00) >> 8); texDataPow2Blue[x][y] = (char)(imgData[(int)round(x*imgRelMultiplierX)] [(int)round(((pow2Height-1)-y)*imgRelMultiplierY)] & 0x0000FF); if (maskWidth) texDataPow2Alpha[x][y] = (char)(maskData[(int)round(x*maskRelMultiplierX)] [(int)round(((pow2Height-1)-y)*maskRelMultiplierY)] & 0x0000FF); else texDataPow2Alpha[x][y] = (char)0x0000FF; } /* //FOR DEBUGGING AND TESTING FILE *fp; fp = fopen("test.ppm", "wb"); fprintf(fp, "P6\n"); fprintf(fp, "%d %d\n",pow2Width,pow2Height); fprintf(fp, "%d\n",255); for (y = 0; y < pow2Height; y++) for (x = 0; x < pow2Width; x++) { fprintf(fp, "%c", texDataPow2Red[x][y]); fprintf(fp, "%c", texDataPow2Green[x][y]); fprintf(fp, "%c", texDataPow2Blue[x][y]); } fclose(fp); */ // print the different size textures to file for (i=0; i < textureCount; i++) { for (y=0; y < pow2Height; y++) for (x=0; x < pow2Width; x++) { fprintf(CFile, "%i, ", (unsigned char)texDataPow2Red[x][y]); fprintf(CFile, "%i, ", (unsigned char)texDataPow2Green[x][y]); fprintf(CFile, "%i, ", (unsigned char)texDataPow2Blue[x][y]); if ((unsigned char)texDataPow2Alpha[x][y] > (unsigned char)0x7F) fprintf(CFile, "%i,\n", 0xFF); else fprintf(CFile, "%i,\n", 0x0); } pow2Width = round((float)pow2Width/2.0); pow2Height = round((float)pow2Height/2.0); for (y=0; y < pow2Height; y++) for (x=0; x < pow2Width; x++) mixColors(texDataPow2Red[x*2][y*2], texDataPow2Green[x*2][y*2], texDataPow2Blue[x*2][y*2], texDataPow2Alpha[x*2][y*2], texDataPow2Red[x*2+1][y*2], texDataPow2Green[x*2+1][y*2], texDataPow2Blue[x*2+1][y*2], texDataPow2Alpha[x*2+1][y*2], texDataPow2Red[x*2+1][y*2+1], texDataPow2Green[x*2+1][y*2+1], texDataPow2Blue[x*2+1][y*2+1], texDataPow2Alpha[x*2+1][y*2+1], texDataPow2Red[x*2][y*2+1], texDataPow2Green[x*2][y*2+1], texDataPow2Blue[x*2][y*2+1], texDataPow2Alpha[x*2][y*2+1], &texDataPow2Red[x][y], &texDataPow2Green[x][y], &texDataPow2Blue[x][y], &texDataPow2Alpha[x][y]); fprintf(CFile, "//end of texture %i\n\n", i); } for (i = 0; i < pow2Width; i++) free(texDataPow2Red[i]); free(texDataPow2Red); for (i = 0; i < pow2Width; i++) free(texDataPow2Green[i]); free(texDataPow2Green); for (i = 0; i < pow2Width; i++) free(texDataPow2Blue[i]); free(texDataPow2Blue); for (i = 0; i < pow2Width; i++) free(texDataPow2Alpha[i]); free(texDataPow2Alpha); fprintf(CFile, "};\n"); fclose(CFile); // write the .h file NameDotH = malloc(strlen(NewName)+4); sprintf(NameDotH, "%s.h%c",NewName, '\0'); CFile = fopen(NameDotH, "wb"); free(NameDotH); if (!CFile) return; fprintf(CFile, "extern int %sTexCount;\n", CFileName); fprintf(CFile, "extern int %sTexWidth[%i];\n", CFileName, textureCount); fprintf(CFile, "extern int %sTexHeight[%i];\n", CFileName, textureCount); fprintf(CFile, "extern GLubyte %s[%i];\n", NewName, pow2Width * pow2Height * 4); fprintf(CFile, "GLuint %sTexPtrGL;\n", CFileName); fclose(CFile); free(NewName); }
the_stack_data/178264652.c
void foo() { enum { FIRST, A, B = A, } X; }
the_stack_data/444051.c
#include <stdio.h> int grid[9][9] = {0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0}; void editGrid(int arr[][9]); void displayGrid(int arr[][9]) { int i,j; for(i=0;i<9;i++,printf("\n")) for(j=0;j<9;j++) printf("%d ",arr[i][j]); } int main() { editGrid(grid); displayGrid(grid); return 0; } void editGrid(int arr[][9]) { int i,j; char opt; do { printf("Enter row and column number.\n"); scanf("%d",&i); scanf("%d",&j); printf("Enter the element value\n"); scanf("%d",&arr[i-1][j-1]); printf("Add another element to sudoku?\nEnter y or n\n"); scanf("%c",&opt); scanf("%c",&opt); }while(opt == 'y'); }
the_stack_data/1032820.c
/*Exercise 2 - Selection Write a program to calculate the amount to be paid for a rented vehicle. • Input the distance the van has travelled • The first 30 km is at a rate of 50/= per km. • The remaining distance is calculated at the rate of 40/= per km. e.g. Distance -> 20 Amount = 20 x 50 = 1000 Distance -> 50 Amount = 30 x 50 + (50-30) x 40 = 2300*/ #include <stdio.h> int main() { float amount, distance; printf("Enter the distance: "); scanf("%f", &distance); if(distance <= 30) { amount = distance * 50.0; } else if(distance > 30) { amount = (30 * 50.0) + ((distance - 30) * 40.0); } printf("The amount is Rs. %.2f", amount); return 0; }
the_stack_data/25477.c
#include <unistd.h> #include <stdio.h> #include <sys/wait.h> char buffer[10]; int main (int argc, char* argv[]){ int a; scanf("%d",&a); if (a==1){ char linha [] = "linha"; int status,bytes; int p[2]; if(pipe(p)==-1){ perror("pipe\n"); return -1; } // p[0] descritor associado ao extremo de leitura do pipe // p[1] descritor associado ao extremo de escrita do pipek switch(fork()){ case -1: perror("fork\n"); return -1; case 0: close(p[1]); bytes = read(p[0],buffer,sizeof(buffer)); printf("Filho: %s, bytes%d", buffer,bytes); default: close(p[0]); // sleep(5); write(p[1],linha,sizeof(linha)); wait(&status); } } if (a==2){ char linha[] = "linha2\n"; int status, bytes; int p[2]; if(pipe(p)==-1) return -1; switch(fork()){ case -1: return -1; case 0: close(p[0]); write(p[1],linha,sizeof(linha)); close(p[1]); _exit(0); default: close(p[1]); bytes = read (p[0],buffer,sizeof(buffer)); close(p[0]); printf("pai:%s, bytes:%d\n",buffer,bytes); wait(&status); } } return 0; }
the_stack_data/215768607.c
/* This testcase is part of GDB, the GNU debugger. Copyright 2014-2021 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stddef.h> #define SIZE 10 int main (void) { int n = SIZE; int i = 0; int j = 0; int vla2[SIZE][n]; int vla1[n]; for (i = 0; i < n; i++) vla1[i] = (i * 2) + n; for (i = 0; i < SIZE; i++) for (j = 0; j < n; j++) vla2[i][j] = (i + j) + n; i = 0; j = 0; return 0; /* vla-filled */ }
the_stack_data/125140128.c
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --include-generated-funcs --replace-value-regex "__omp_offloading_[0-9a-z]+_[0-9a-z]+" "reduction_size[.].+[.]" "pl_cond[.].+[.|,]" --prefix-filecheck-ir-name _ // RUN: %clang_cc1 -verify -triple powerpc64le-unknown-linux-gnu -fopenmp -x c -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK1 // RUN: %clang_cc1 -verify -triple powerpc64le-unknown-linux-gnu -fopenmp-simd -x c -emit-llvm %s -o - | FileCheck %s --implicit-check-not="{{__kmpc|__tgt}}" int a; void foo() { int(*b)[a]; int *(**c)[a]; #pragma omp parallel if (0) b[0][0] = c[0][a][0][a]; } void bar(int n, int *a) { // expected-warning@+1 {{incompatible pointer types initializing 'int (*)[n]' with an expression of type 'int **'}} int(*p)[n] = &a; #pragma omp parallel if(0) // expected-warning@+1 {{comparison of distinct pointer types ('int (*)[n]' and 'int **')}} if (p == &a) { } } // CHECK1-LABEL: define {{[^@]+}}@foo // CHECK1-SAME: () #[[ATTR0:[0-9]+]] { // CHECK1-NEXT: entry: // CHECK1-NEXT: [[B:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[C:%.*]] = alloca i32***, align 8 // CHECK1-NEXT: [[DOTTHREADID_TEMP_:%.*]] = alloca i32, align 4 // CHECK1-NEXT: [[DOTBOUND_ZERO_ADDR:%.*]] = alloca i32, align 4 // CHECK1-NEXT: [[TMP0:%.*]] = call i32 @__kmpc_global_thread_num(%struct.ident_t* @[[GLOB1:[0-9]+]]) // CHECK1-NEXT: [[TMP1:%.*]] = load i32, i32* @a, align 4 // CHECK1-NEXT: [[TMP2:%.*]] = zext i32 [[TMP1]] to i64 // CHECK1-NEXT: [[TMP3:%.*]] = load i32, i32* @a, align 4 // CHECK1-NEXT: [[TMP4:%.*]] = zext i32 [[TMP3]] to i64 // CHECK1-NEXT: call void @__kmpc_serialized_parallel(%struct.ident_t* @[[GLOB1]], i32 [[TMP0]]) // CHECK1-NEXT: store i32 [[TMP0]], i32* [[DOTTHREADID_TEMP_]], align 4 // CHECK1-NEXT: store i32 0, i32* [[DOTBOUND_ZERO_ADDR]], align 4 // CHECK1-NEXT: call void @.omp_outlined.(i32* [[DOTTHREADID_TEMP_]], i32* [[DOTBOUND_ZERO_ADDR]], i64 [[TMP2]], i32** [[B]], i64 [[TMP4]], i32**** [[C]]) #[[ATTR2:[0-9]+]] // CHECK1-NEXT: call void @__kmpc_end_serialized_parallel(%struct.ident_t* @[[GLOB1]], i32 [[TMP0]]) // CHECK1-NEXT: ret void // // // CHECK1-LABEL: define {{[^@]+}}@.omp_outlined. // CHECK1-SAME: (i32* noalias noundef [[DOTGLOBAL_TID_:%.*]], i32* noalias noundef [[DOTBOUND_TID_:%.*]], i64 noundef [[VLA:%.*]], i32** noundef nonnull align 8 dereferenceable(8) [[B:%.*]], i64 noundef [[VLA1:%.*]], i32**** noundef nonnull align 8 dereferenceable(8) [[C:%.*]]) #[[ATTR1:[0-9]+]] { // CHECK1-NEXT: entry: // CHECK1-NEXT: [[DOTGLOBAL_TID__ADDR:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[DOTBOUND_TID__ADDR:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[VLA_ADDR:%.*]] = alloca i64, align 8 // CHECK1-NEXT: [[B_ADDR:%.*]] = alloca i32**, align 8 // CHECK1-NEXT: [[VLA_ADDR2:%.*]] = alloca i64, align 8 // CHECK1-NEXT: [[C_ADDR:%.*]] = alloca i32****, align 8 // CHECK1-NEXT: store i32* [[DOTGLOBAL_TID_]], i32** [[DOTGLOBAL_TID__ADDR]], align 8 // CHECK1-NEXT: store i32* [[DOTBOUND_TID_]], i32** [[DOTBOUND_TID__ADDR]], align 8 // CHECK1-NEXT: store i64 [[VLA]], i64* [[VLA_ADDR]], align 8 // CHECK1-NEXT: store i32** [[B]], i32*** [[B_ADDR]], align 8 // CHECK1-NEXT: store i64 [[VLA1]], i64* [[VLA_ADDR2]], align 8 // CHECK1-NEXT: store i32**** [[C]], i32***** [[C_ADDR]], align 8 // CHECK1-NEXT: [[TMP0:%.*]] = load i64, i64* [[VLA_ADDR]], align 8 // CHECK1-NEXT: [[TMP1:%.*]] = load i32**, i32*** [[B_ADDR]], align 8 // CHECK1-NEXT: [[TMP2:%.*]] = load i64, i64* [[VLA_ADDR2]], align 8 // CHECK1-NEXT: [[TMP3:%.*]] = load i32****, i32***** [[C_ADDR]], align 8 // CHECK1-NEXT: [[TMP4:%.*]] = load i32***, i32**** [[TMP3]], align 8 // CHECK1-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds i32**, i32*** [[TMP4]], i64 0 // CHECK1-NEXT: [[TMP5:%.*]] = load i32**, i32*** [[ARRAYIDX]], align 8 // CHECK1-NEXT: [[TMP6:%.*]] = load i32, i32* @a, align 4 // CHECK1-NEXT: [[IDXPROM:%.*]] = sext i32 [[TMP6]] to i64 // CHECK1-NEXT: [[TMP7:%.*]] = mul nsw i64 [[IDXPROM]], [[TMP2]] // CHECK1-NEXT: [[ARRAYIDX3:%.*]] = getelementptr inbounds i32*, i32** [[TMP5]], i64 [[TMP7]] // CHECK1-NEXT: [[ARRAYIDX4:%.*]] = getelementptr inbounds i32*, i32** [[ARRAYIDX3]], i64 0 // CHECK1-NEXT: [[TMP8:%.*]] = load i32*, i32** [[ARRAYIDX4]], align 8 // CHECK1-NEXT: [[TMP9:%.*]] = load i32, i32* @a, align 4 // CHECK1-NEXT: [[IDXPROM5:%.*]] = sext i32 [[TMP9]] to i64 // CHECK1-NEXT: [[ARRAYIDX6:%.*]] = getelementptr inbounds i32, i32* [[TMP8]], i64 [[IDXPROM5]] // CHECK1-NEXT: [[TMP10:%.*]] = load i32, i32* [[ARRAYIDX6]], align 4 // CHECK1-NEXT: [[TMP11:%.*]] = load i32*, i32** [[TMP1]], align 8 // CHECK1-NEXT: [[TMP12:%.*]] = mul nsw i64 0, [[TMP0]] // CHECK1-NEXT: [[ARRAYIDX7:%.*]] = getelementptr inbounds i32, i32* [[TMP11]], i64 [[TMP12]] // CHECK1-NEXT: [[ARRAYIDX8:%.*]] = getelementptr inbounds i32, i32* [[ARRAYIDX7]], i64 0 // CHECK1-NEXT: store i32 [[TMP10]], i32* [[ARRAYIDX8]], align 4 // CHECK1-NEXT: ret void // // // CHECK1-LABEL: define {{[^@]+}}@bar // CHECK1-SAME: (i32 noundef signext [[N:%.*]], i32* noundef [[A:%.*]]) #[[ATTR0]] { // CHECK1-NEXT: entry: // CHECK1-NEXT: [[N_ADDR:%.*]] = alloca i32, align 4 // CHECK1-NEXT: [[A_ADDR:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[P:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[DOTTHREADID_TEMP_:%.*]] = alloca i32, align 4 // CHECK1-NEXT: [[DOTBOUND_ZERO_ADDR:%.*]] = alloca i32, align 4 // CHECK1-NEXT: [[TMP0:%.*]] = call i32 @__kmpc_global_thread_num(%struct.ident_t* @[[GLOB1]]) // CHECK1-NEXT: store i32 [[N]], i32* [[N_ADDR]], align 4 // CHECK1-NEXT: store i32* [[A]], i32** [[A_ADDR]], align 8 // CHECK1-NEXT: [[TMP1:%.*]] = load i32, i32* [[N_ADDR]], align 4 // CHECK1-NEXT: [[TMP2:%.*]] = zext i32 [[TMP1]] to i64 // CHECK1-NEXT: [[TMP3:%.*]] = bitcast i32** [[A_ADDR]] to i32* // CHECK1-NEXT: store i32* [[TMP3]], i32** [[P]], align 8 // CHECK1-NEXT: call void @__kmpc_serialized_parallel(%struct.ident_t* @[[GLOB1]], i32 [[TMP0]]) // CHECK1-NEXT: store i32 [[TMP0]], i32* [[DOTTHREADID_TEMP_]], align 4 // CHECK1-NEXT: store i32 0, i32* [[DOTBOUND_ZERO_ADDR]], align 4 // CHECK1-NEXT: call void @.omp_outlined..1(i32* [[DOTTHREADID_TEMP_]], i32* [[DOTBOUND_ZERO_ADDR]], i64 [[TMP2]], i32** [[P]], i32** [[A_ADDR]]) #[[ATTR2]] // CHECK1-NEXT: call void @__kmpc_end_serialized_parallel(%struct.ident_t* @[[GLOB1]], i32 [[TMP0]]) // CHECK1-NEXT: ret void // // // CHECK1-LABEL: define {{[^@]+}}@.omp_outlined..1 // CHECK1-SAME: (i32* noalias noundef [[DOTGLOBAL_TID_:%.*]], i32* noalias noundef [[DOTBOUND_TID_:%.*]], i64 noundef [[VLA:%.*]], i32** noundef nonnull align 8 dereferenceable(8) [[P:%.*]], i32** noundef nonnull align 8 dereferenceable(8) [[A:%.*]]) #[[ATTR1]] { // CHECK1-NEXT: entry: // CHECK1-NEXT: [[DOTGLOBAL_TID__ADDR:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[DOTBOUND_TID__ADDR:%.*]] = alloca i32*, align 8 // CHECK1-NEXT: [[VLA_ADDR:%.*]] = alloca i64, align 8 // CHECK1-NEXT: [[P_ADDR:%.*]] = alloca i32**, align 8 // CHECK1-NEXT: [[A_ADDR:%.*]] = alloca i32**, align 8 // CHECK1-NEXT: store i32* [[DOTGLOBAL_TID_]], i32** [[DOTGLOBAL_TID__ADDR]], align 8 // CHECK1-NEXT: store i32* [[DOTBOUND_TID_]], i32** [[DOTBOUND_TID__ADDR]], align 8 // CHECK1-NEXT: store i64 [[VLA]], i64* [[VLA_ADDR]], align 8 // CHECK1-NEXT: store i32** [[P]], i32*** [[P_ADDR]], align 8 // CHECK1-NEXT: store i32** [[A]], i32*** [[A_ADDR]], align 8 // CHECK1-NEXT: [[TMP0:%.*]] = load i64, i64* [[VLA_ADDR]], align 8 // CHECK1-NEXT: [[TMP1:%.*]] = load i32**, i32*** [[P_ADDR]], align 8 // CHECK1-NEXT: [[TMP2:%.*]] = load i32**, i32*** [[A_ADDR]], align 8 // CHECK1-NEXT: [[TMP3:%.*]] = load i32*, i32** [[TMP1]], align 8 // CHECK1-NEXT: [[TMP4:%.*]] = bitcast i32** [[TMP2]] to i32* // CHECK1-NEXT: [[CMP:%.*]] = icmp eq i32* [[TMP3]], [[TMP4]] // CHECK1-NEXT: br i1 [[CMP]], label [[IF_THEN:%.*]], label [[IF_END:%.*]] // CHECK1: if.then: // CHECK1-NEXT: br label [[IF_END]] // CHECK1: if.end: // CHECK1-NEXT: ret void //
the_stack_data/59378.c
#include <stdio.h> int main(void){ int N; printf("Enter the number:"); scanf("%d", &N); for (int i = 1; i < N; i++){ int flag = 0; for (int j = 2; j < i; j++){ if (i % j == 0){ flag = 1; break; } } if (flag == 0){ printf("Number: %d is a prime\n", i); } } }
the_stack_data/18886437.c
#include <stdlib.h> #include <pthread.h> #include <stdio.h> int *x; int *y; pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER; void *t_fun(void *arg) { pthread_mutex_lock(&m); *x = 3; // NORACE *y = 8; // RACE! pthread_mutex_unlock(&m); return NULL; } int main() { pthread_t id; int *z; x = malloc(sizeof(int)); y = malloc(sizeof(int)); z = y; pthread_create(&id, NULL, t_fun, NULL); pthread_mutex_lock(&m); printf("%d\n",*x); // NORACE pthread_mutex_unlock(&m); printf("%d\n",*z); // RACE! return 0; }
the_stack_data/150541.c
#include<stdio.h> #include <string.h> #include <stdlib.h> #define MAXCHAR 10 int main(){ /* 2D array declaration*/ float disp[12][2]; FILE *fp; char str[MAXCHAR]; char* filename = "samplePlot.txt"; if ( (fp = fopen(filename, "r")) == NULL) { printf("Could not open file %s",filename); return 1; } int row=0; char *pt; while (fgets(str, MAXCHAR, fp) != NULL) { pt = strtok (str,",\n"); // split on comma disp[row][0] = atof(pt); pt = strtok (NULL, ",\n"); disp[row][1] = atof(pt); row++; } // reading lines fclose(fp); //Displaying array elements printf("\nTwo Dimensional array elements:\n"); for(int i=0; i<12; i++) { for(int j=0;j<2;j++) { printf("disp[%d][%d] = :%5.1f:\n", i,j,disp[i][j]); } } return 0; }
the_stack_data/54826620.c
/*** * This code is a part of EvoApproxLib library (ehw.fit.vutbr.cz/approxlib) distributed under The MIT License. * When used, please cite the following article(s): V. Mrazek, Z. Vasicek, L. Sekanina, H. Jiang and J. Han, "Scalable Construction of Approximate Multipliers With Formally Guaranteed Worst Case Error" in IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 26, no. 11, pp. 2572-2576, Nov. 2018. doi: 10.1109/TVLSI.2018.2856362 * This file contains a circuit from a sub-set of pareto optimal circuits with respect to the pwr and wce parameters ***/ // MAE% = 0.23 % // MAE = 150 // WCE% = 1.16 % // WCE = 759 // WCRE% = 1500.00 % // EP% = 93.16 % // MRE% = 12.26 % // MSE = 38236 // PDK45_PWR = 0.200 mW // PDK45_AREA = 411.6 um2 // PDK45_DELAY = 1.14 ns #include <stdint.h> #include <stdlib.h> uint16_t mul8s_1L2D(uint8_t A, uint8_t B) { uint16_t O; uint8_t n38,n39,n88,O10,n95,O5,n36,n37,n209,O2,n132,n133,n130,n131,n136,n137,n134,n100,n222,n208,n138,n139,n226,n227,n224,n235,n234,n236,O12,n231,O4,n230,n85,n84,n237,n86,n81,n80,n83,n82,n118,n232,n239,n119,n129,n128,n125,n124,n127,n126,n121,n120,n123,n122,n89,n92,n238,n240,n98,n99,n245,n246,n247,n248,n249,n90,n91,n96,n97,n94,O0,n158,n159,n210,n150,n152,n153,n154,n155,n203,n157,n67,n66,n65,n64,n63,n62,n60,n189,n69,n68,n156,n173,n252,n250,n93,O15,O3,n233,n161,n149,n148,n143,n142,n141,n140,n147,n146,n145,n144,n74,n75,n76,n77,n70,n71,n72,n73,O9,n78,n79,n176,n177,n174,n175,n172,O6,n170,n171,n228,n178,n179,n229,n49,n48,n40,n43,n42,n45,n44,n47,O14,O8,n220,O1,n160,n163,n162,n165,n164,n167,n166,n169,n168,n194,n225,O11,n58,n59,n56,n57,n54,n55,n52,n53,n50,n51,n223,n198,n199,n195,n196,n197,n190,n191,n192,n193,n114,n115,n117,n110,n111,n112,n113,n204,n205,n206,n207,n200,n201,n202,n102,O13,n135,n242,n221,n243,n244,O7,n188,n186,n185,n184,n183,n182,n181,n180,n107,n106,n105,n104,n103,n211,n101,n218,n217,n216,n215,n214,n213,n212,n109,n108; O0=0; O1=0; O2=0; O3=0; O4=((B >> 2)&1)&((A >> 2)&1); n111=((B >> 5)&1)&((A >> 4)&1); n113=((B >> 7)&1)&((A >> 2)&1); n114=((B >> 4)&1)&((A >> 5)&1); n115=((B >> 3)&1)&((A >> 6)&1); n129=((B >> 3)&1)&((A >> 7)&1); n147=((B >> 6)&1)&((A >> 4)&1); n148=((B >> 7)&1)&((A >> 3)&1); n149=((B >> 5)&1)&((A >> 5)&1); n150=((B >> 4)&1)&((A >> 6)&1); n166=((B >> 4)&1)&((A >> 7)&1); n174=((B >> 5)&1)&((A >> 6)&1); n182=((B >> 6)&1)&((A >> 5)&1); n185=~(((A >> 4)&1)|((A >> 3)&1)); n206=((B >> 5)&1)&((A >> 7)&1); n216=((B >> 7)&1)&((A >> 5)&1); n218=((B >> 6)&1)&((A >> 6)&1); n239=((B >> 7)&1)&((A >> 6)&1); n240=((B >> 6)&1)&((A >> 7)&1); n250=((B >> 7)&1)&((A >> 7)&1); n37=((B >> 3)&1)&((A >> 3)&1); n39=((B >> 2)&1)&((A >> 3)&1); n40=((B >> 3)&1)&((A >> 2)&1); n43=((B >> 2)&1)&((A >> 4)&1); n45=((B >> 4)&1)&((A >> 2)&1); n56=((B >> 3)&1)&((A >> 4)&1); n58=((B >> 5)&1)&((A >> 2)&1); n59=((B >> 4)&1)&((A >> 3)&1); n60=((B >> 2)&1)&((A >> 5)&1); n78=((B >> 6)&1)&((A >> 3)&1); n80=((B >> 5)&1)&((A >> 3)&1); n81=((B >> 6)&1)&((A >> 2)&1); n84=((B >> 4)&1)&((A >> 4)&1); n85=((B >> 3)&1)&((A >> 5)&1); n86=((B >> 2)&1)&((A >> 6)&1); n94=((B >> 2)&1)&((A >> 7)&1); n112=~(n113^n78); n146=~n113&n78; n180=n147&n148; n184=((B >> 7)&1)&~n185; n186=((A >> 4)&1)&n148; n36=n37&O4; n38=~(n40|n39); n44=n45^n37; n55=n45&n37; n57=n59^n58; n77=n78&n58; n79=~(n81|n80); n83=n59&n58; O5=~(n38|n36); n107=n84&n83; n110=~(n111^n77); n141=n111&n77; n142=n111&n112; n143=n112&n77; n145=~(n147^n146); n179=n147&n146; n181=n148&n146; n183=~n186&n184; n215=~(n216|n184); n217=((A >> 5)&1)&n184; n42=~(n43^n36); n50=n43&n36; n51=n43&n44; n52=n44&n36; n54=~(n56^n55); n72=n56&n55; n73=n56&n57; n74=n57&n55; n76=~(n79|n77); n82=~(n84^n83); O6=~(n44^n42); n106=n84&n76; n108=n83&n76; n109=n112^n110; n140=~(n142|n141); n144=n148^n145; n178=~(n180|n179); n212=n182&n183; n214=~(n217|n215); n238=~(n239^n215); n249=~n239&n215; n49=~(n51|n50); n53=n57^n54; n71=~(n73|n72); n75=n82^n76; n100=n85&~n75; n105=~(n107|n106); n135=n114&~n109; n139=~n143&n140; n172=n149&~n144; n177=~n181&n178; n236=n218&n214; n248=~(n250^n249); n48=~n52&n49; n66=n60&~n53; n70=~n74&n71; n101=n85&~n70; n104=~n108&n105; n138=~(n144^n139); n171=~(n144|n139); n173=n149&~n139; n176=n182^n177; n211=n182&~n177; n213=n183&~n177; n47=~(n53^n48); n65=~(n53|n48); n67=n60&~n48; n69=~(n75^n70); n99=~(n75|n70); O7=~(n60^n47); n103=~(n109^n104); n134=~(n109|n104); n136=n114&~n104; n137=n149^n138; n170=~(n172|n171); n175=n183^n176; n210=~(n212|n211); n64=~(n66|n65); n68=n85^n69; n98=~(n100|n99); n102=n114^n103; n133=~(n135|n134); n165=n150&~n137; n169=~n173&n170; n204=n174&~n175; n209=~n213&n210; n63=~n67&n64; n93=n86&~n68; n97=~n101&n98; n126=~(n102|n97); n127=n115&~n97; n128=n115&~n102; n132=~n136&n133; n168=n174^n169; n203=n174&~n169; n205=~(n175|n169); n208=n214^n209; n235=n214&~n209; n237=n218&~n209; n62=~(n68^n63); n91=~(n68|n63); n92=n86&~n63; n96=~(n102^n97); O8=~(n86^n62); n125=~(n127|n126); n131=~(n137^n132); n163=~(n137|n132); n164=n150&~n132; n167=~(n175^n168); n202=~(n204|n203); n207=n218^n208; n234=~(n236|n235); n90=~(n92|n91); n95=n115^n96; n120=~(n94|n95); n124=~n128&n125; n130=n150^n131; n162=~(n164|n163); n197=~(n166|n167); n201=~n205&n202; n229=~(n206|n207); n233=~n237&n234; n89=~n93&n90; n119=~(n94|n89); n121=~(n95|n89); n123=~(n129^n124); n156=~(n129|n124); n157=~(n129|n130); n158=~(n124|n130); n161=~n165&n162; n200=~(n206^n201); n228=~(n206|n201); n230=~(n207|n201); n232=~(n238^n233); n88=~(n94^n89); O9=n95^n88; n118=~(n120|n119); n122=~(n130^n123); n155=~(n157|n156); n160=~(n166^n161); n196=~(n166|n161); n198=~(n167|n161); n199=~(n207^n200); n227=~(n229|n228); n231=~(n240^n232); n117=~n121&n118; n154=~n158&n155; n159=~(n167^n160); n195=~(n197|n196); n226=~n230&n227; O10=n122^n117; n152=~(n122|n117); n153=~(n159^n154); n192=~(n159|n154); n194=~n198&n195; O11=~(n153^n152); n191=~n159&n152; n193=~n154&n152; n224=~(n199|n194); n190=~(n192|n191); n189=~n193&n190; n188=~(n194^n189); n223=~(n194|n189); n225=~(n199|n189); O12=n199^n188; n222=~(n224|n223); n221=~n225&n222; n220=n226^n221; n245=n226&n221; O13=n231^n220; n244=n233&n245; n247=~(n233|n245); n243=~(n240|n244); n246=~(n238|n247); n242=n246&~n243; O14=n248^n242; n252=n249&~n242; O15=~(n250|n252); O = (O0 << 0)|(O1 << 1)|(O2 << 2)|(O3 << 3)|(O4 << 4)|(O5 << 5)|(O6 << 6)|(O7 << 7)|(O8 << 8)|(O9 << 9)|(O10 << 10)|(O11 << 11)|(O12 << 12)|(O13 << 13)|(O14 << 14)|(O15 << 15); return O; }
the_stack_data/32950978.c
#include <math.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <limits.h> #include <stdbool.h> int main(){ int n; scanf("%d",&n); int arr[n]; for(int arr_i = 0; arr_i < n; arr_i++){ scanf("%d",&arr[arr_i]); } int sum = 0; for(int i=0;i<n;i++){ sum += arr[i]; } printf("%d",sum); return 0; }
the_stack_data/100909.c
#include <stdio.h> #include <time.h> #include <math.h> void main(int argc, char const *argv[]) { clock_t t = clock(); int max_i = 0; int max_count = 0; int c; for (int i = 1; i <= 30000; i++){ c = contaSomatorios(i); if (c > max_count){ max_i = i; max_count = c; printf("%d : %d\n", max_i, max_count); } /*else if (i%1000 == 0) { printf("%d\n", i); }*/ } printf("Maximo count encontrado: %d em %d.\n", max_count, max_i); t = clock() - t; double time_taken = ((double)t)/CLOCKS_PER_SEC; // in seconds printf("%f segundos\n", time_taken); } int contaSomatorios(int n){ int count = 1; int i = 2; int impar; int min = n; int resto = 1; int quoc = n; while (min > 0){ impar = i%2; if((n%i == resto && !impar) || (n%i == 0 && impar)){ if(quoc > floor(n/i)){ quoc = floor(n/i); min = (int) ceil(n/i)-resto; if(min > 0){ count++; } } } min = (int) ceil(n/i)-resto; if(i%2==1){ resto++; } i++; } return count; }
the_stack_data/61572.c
#include <stdio.h> #include <stdbool.h> int main() { int T, i, j, letters[26]; char S1[100001], S2[100001]; bool match; scanf("%d", &T); for(i = 0; i < T; i++) { scanf("%s %s", S1, S2); j = 0; while(S1[j] != 0) letters[S1[j++] - 'a']++; j = 0; while(S2[j] != 0) letters[S2[j++] - 'a']--; match = true; for(j = 0; j < 26; j++) if(letters[j] != 0) { match = false; break; } if(match) printf("YES\n"); else printf("NO\n"); } return 0; }
the_stack_data/46234.c
#include <stdlib.h> #include <pthread.h> struct foo { int f_count; pthread_mutex_t f_lock; int f_id; /* ... more stuff here ... */ }; struct foo * foo_alloc(int id) /* allocate the object */ { struct foo *fp; if ((fp = malloc(sizeof(struct foo))) != NULL) { fp->f_count = 1; fp->f_id = id; if (pthread_mutex_init(&fp->f_lock, NULL) != 0) { free(fp); return(NULL); } /* ... continue initialization ... */ } return(fp); } void foo_hold(struct foo *fp) /* add a reference to the object */ { pthread_mutex_lock(&fp->f_lock); fp->f_count++; pthread_mutex_unlock(&fp->f_lock); } void foo_rele(struct foo *fp) /* release a reference to the object */ { pthread_mutex_lock(&fp->f_lock); if (--fp->f_count == 0) { /* last reference */ pthread_mutex_unlock(&fp->f_lock); pthread_mutex_destroy(&fp->f_lock); free(fp); } else { pthread_mutex_unlock(&fp->f_lock); } }
the_stack_data/187643713.c
#include<stdio.h> int main( void ) { char string1[ 20 ]; char string2[] = "string literal"; int i; printf("Enter a string: "); scanf( "%s", string1 ); printf( "string1 is: %s\nstring2 is: %s\n" "string1 with spaces between characters is:\n", string1, string2 ); for ( i = 0; string1[ i ] != '\0'; i++ ) { printf( "%c ",string1[ i ]); } printf( "\n" ); return 0; }
the_stack_data/1076925.c
/* This testcase is part of GDB, the GNU debugger. Copyright 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _GNU_SOURCE #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> void marker1 (void) { } void marker2 (void) { } struct stat buf; int main (void) { marker1 (); int fd = open ("/", O_PATH); fstatat( fd, ".", &buf, 0); marker2 (); return 0; }
the_stack_data/721931.c
void red() { printf("\x1b[31m"); } void blue() { printf("\x1b[34m"); } void green() { printf("\x1b[32m"); } void magenta() { printf("\x1b[35m"); } void cyan() { printf("\x1b[36m"); } void yellow() { printf("\x1b[33m"); } void reset() { printf("\x1b[0m"); }