198..................................... 1 C++ 1............................ 14 8086........................... 34............................. 43 TSG



Similar documents
(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

文字コードとその実装

( )!?

203.dvi

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

/* sansu1.c */ #include <stdio.h> main() { int a, b, c; /* a, b, c */ a = 200; b = 1300; /* a 200 */ /* b 200 */ c = a + b; /* a b c */ }

アセンブラ入門(CASL II) 第3版

10

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

1 1.1 =-=-=-DATA-=-=-= *** ******************* **** (**) **** FM-old7 PC-E As ( AS400 ^^) 100 ( 100 ) (ToT) C FM

Microsoft Word - C.....u.K...doc

273? C

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

johokiso-char.pdf.pdf

18 C ( ) hello world.c 1 #include <stdio.h> 2 3 main() 4 { 5 printf("hello World\n"); 6 } [ ] [ ] #include <stdio.h> % cc hello_world.c %./a.o

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225

pptx

Java updated

1 CUI CUI CUI 1.1 cout cin redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c

Microsoft Word - 触ってみよう、Maximaに2.doc

DPCK-US10

橡J_ptvr_common.PDF

untitled

( ) Shift JIS ( ) ASCII ASCII ( ) 8bit = 1 Byte JIS(Japan Industrial Standard) X 0201 (X ) 2 Byte JIS ISO-2022-JP, Shift JIS, EUC 1 Byte 2 By

tuat1.dvi

I ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2 " 2 B R b

橡Webcamユーザーガイド03.PDF

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D

programmingII2019-v01

untitled

1 1.1 PC PC PC PC PC workstation PC hardsoft PC PC CPU 1 Gustavb, Wikimedia Commons.

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit)

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

untitled


For_Beginners_CAPL.indd

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

解きながら学ぶC++入門編

listings-ext

joho07-1.ppt

tutorial_lc.dvi

新版 明解C++入門編

新・明解Java入門

10/8 Finder,, 1 1. Finder MAC OS X 2. ( ) MAC OS X Java ( ) 3. MAC OS X Java ( ) / 10

thesis.dvi

K227 Java 2

ex01.dvi

ESMPRO/DeliveryManager

DOPRI5.dvi

新版明解C言語 実践編

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

n 第1章 章立ての部分は、書式(PC入門大見出し)を使います

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

2017 p vs. TDGL 4 Metropolis Monte Carlo equation of continuity s( r, t) t + J( r, t) = 0 (79) J s flux (67) J (79) J( r, t) = k δf δs s( r,

POWERCHR.backup.OMB

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1. COBOL COBOL COBOL COBOL 2

SQUFOF NTT Shanks SQUFOF SQUFOF Pentium III Pentium 4 SQUFOF 2.03 (Pentium 4 2.0GHz Willamette) N UBASIC 50 / 200 [

book

Fortran90/95 [9]! (1 ) " " 5 "Hello!"! 3. (line) Fortran Fortran 1 2 * (1 ) 132 ( ) * 2 ( Fortran ) Fortran ,6 (continuation line) 1

4 Ziggi-HD (EXP)

H02_ROM_ indd

Java学習教材

00-COVER.P65

解きながら学ぶC言語

Express5800/53Xg, Y53Xg インストレーションガイド(Windows編)

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co

スパコンに通じる並列プログラミングの基礎

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");

たのしいプログラミング Pythonではじめよう!

Transcription:

Theoretical Science Group

198..................................... 1 C++ 1............................ 14 8086........................... 34............................. 43 TSG Ver. 1.0........................ ZERO 55

TSG No. 199 1

TYM PC-9821Xa13/K12 MT-8617ES BJC-400J MC288XL II PC-9801-118/PC-9821C3-B02 2 PC 9801DA2 1) 10 My P My P R (NPCA)( ) 1 ( ) INFINITY- SERVE (078-435-2263) BBS CG BBS (^_^;) (LaT E X ) C/C++, 86ASM, QuickBASIC > < 1 MS OS ECC UNIX 1 19 ( ) ZOB Station BBS zob19155 BBS INU00090 INFINITY-SERVE INF00028 ECC g640770 Takahiro SAKAMOTO 1) 2 TSG No. 199

: 1 SI-20 : : [b] [ ]? : http://www.komaba.ecc.u-tokyo.ac.jp/~g640834 : COMPAQ PRESARIO CDTV TOSHIBA DynaBook V386 ( 486DX2 66MHz ) C (LSIC-86 )?? DynaBook BBS I 4 GATEWAY2000 P5-133 (SPEC: Pentium133MHz 16MB-EDO 1GB-HD 256KB-PBSRAM) TSG No. 199 3

( ) 2 12 Macintosh SE, IBM XT/AT : 2 2 2 TSG ( 5 LISP Scheme )! : : PC 6001 PC 9801UV21 98 FM V DESK POWER SP 98 PC-9821Xa10/C12 MF-8617E BJ-10V select WaveMaster 4 TSG No. 199

2 MUL- TI16 (?) ASM86 PC-9801NS/E BASIC 131065 NS/E Windows3.1 HD Xa10 Windows 3 NS/E NS/E Xa10 C N88BASIC : : : BASIC C italk Trr (190 )!! TSG No. 199 5

: :, : : : : 13 / / SHARP PC-E650 ( ) BASIC 6 TSG No. 199

( ) 1 28 ( ) PC-9801FA2, FAMILY BASIC, FAMILY BASIC V3, FAMILY COMPUTER, FAMILY COMPUTER DISK SYSTEM, SUPERFAMICON, GAME BOY, SEGASATURN 4 ( ) ( ) BASIC 13 BASIC C TSG No. 199 7

1 1 18 52 10 19 18 NEC P9801DX/U2 IBM Aptiva Music Vision(2407-RYD) 1 BASIC 2 3 4 C++ 5 6 Pascal 5 6 8 TSG No. 199

[ ] ( ) 1977 9 23 ( ) 4 E PC9801DA 240Mb 3 CPU 28800bps [2 23 (!) ] ( ) 4 MSX MSX 1 ( 30 5 ) ( ) ( ) 30 ( ) BASIC ( ) ( ) 2 3 ( ) 3 2 CONFIG.SYS 3 TSG No. 199 9

C++! 1 11 ( ) PC-9801FA (?! ) BJ-10v ; BASIC ( ) 8 (MSX ) 98 DOS/V 98 (6_6"! 2 12 ( ) 10 TSG No. 199

II Gs 100 ZERO2 TSG TSGer ( ) : : 2 4 ( ) : :O : 1 ( 2 ) 1 RPG 64 BEST!!!! ( ) TSG No. 199 11

( ) 2 13 AT,AMD5x86/160MHz,16MB-DRAM,340MB-HDD, HDD PC UNIX 12 TSG No. 199

: pdf html : 2009 4 1 1 :> TSG No. 199 13

C++ 1 C++ 1 C / C++ 1 0 1 0 1 0 1 2 2 A 1000001 10 65 0 1 Intel CPU Pentium ax 0 10 184 0 0 2 2 1) 2 C / C++ BASIC Fortran Cobol Prolog Lisp Pascal Smalltalk Java C C++ 1) CPU IC 14 TSG No. 199

C++ 1 C C++ 2) C / C++ C / C++ C / C++ C / C++ C / C++ C / C++ C / C++ ( ) C / C++ 3 C C++ C++ C C C++ UNIX MS-DOS Windows Mule ls 2) BASIC BASIC TSG No. 199 15

C++ 1 4 hello, world Mule hello.cc #include <iostream.h> main() { cout << "hello, world"; cout << endl; } hello.cc kterm g540879@xss01> gcc hello.cc -lg++ g540879@xss01> ID g540879@xss01> error TSG hello.cc ls g540879@xss01> ls a.out hello.cc a.out a.out hello.cc executable file g540879@xss01> a.out hello, world hello, world 5 hello.cc hello, world hello.cc.cc C++ 16 TSG No. 199

C++ 1 source code gcc gcc GNU C & C++ Compiler GNU GNU -lg++ C++ C hello.cc 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world"; 5: cout << endl; 6: } C++ function definition statement C++ main C++ main C++ C++ procedure C++ main main() { ; ;... } main () main { } ; hello.cc main() 4: cout << "hello, world"; cout stream output operator << hello.cc "hello, world" C++ " string TSG No. 199 17

C++ 1 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl; 5: } endl 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" 5: << "Hello, TSGers!"; 6: } 4 ; 2 g540879@xss01> a.out hello, worldhello, TSGers! 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl 5: << "Hello, TSGers!" << endl; 6: } 4 hello, world Hello, TSGers! endl g540879@xss01> a.out hello, world Hello, TSGers! endl 1 1: #include <iostream.h> # statement #include <iostream.h> iostream.h iostream.h /usr/include iostream.h cout main() cout cout Mule iostream.h cout hello.cc 18 TSG No. 199

C++ 1 5.1 a.out UNIX mv a.out g540879@xss01> gcc -o hello hello.cc -lg++ a.out hello 5.2 C++ 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl; 5: cout << "Hello, TSGers!" << endl; 6: } 1: #include <iostream.h> 2: main(){cout<<"hello, world"<<endl<<"hello, TSGers!"<<endl;} 1: #include <iostream.h> 2: main(){ 3: cout << "hello, world" <<endl; 4: 5: cout<<"hello, TSGers!" <<endl; 6: } 6 C++ variable ON OFF 1 1 8 1 1 255 65535 1 2 8 256 0 255 2 2 16 65536 0 65535 TSG No. 199 19

C++ 1 67,108,864 16,777,216 xxxx data type int int 4 1 31 2, 147, 483, 468 +2, 147, 483, 647 7 C++ declare ; main() { int x; int y; int z; underbar _ main() { int width, height, number_of_members;... = #include <iostream.h> main() { int width, height, area; width = 3; height = 5; area = width * height; cout << "The area is " << area << endl; } 20 TSG No. 199

C++ 1 asterisk * The area is 15 8 #include <iostream.h> main() { int width, height, area; area = width * height; cout << "The area is " << area << endl; } width height 0 area #include <iostream.h> main() { int width = 3, height = 5; int area = width * height; cout << "The area is " << area << endl; } 9 int TSG No. 199 21

C++ 1 char 1 ( 128 +127) short 2 ( 32, 768 +32, 767) long 4 ( 2, 147, 483, 648 +2, 147, 483, 647) int long float 4 (3.4 10 38 3.4 10 38 ) double 8 (1.7 10 308 3.4 1.7 308 ) long double 10 (1.1 10 4932 1.1 10 4932 ) int #include <iostream.h> main() { float pi = 3.14, r = 1.4; float area = pi * r * r; cout << "The area is " << area << endl; } 9.1 sizeof #include <iostream.h> main() { cout << "Data Type bytes"<< endl << "char " << sizeof(char) << endl << "short " << sizeof(short) << endl << "long " << sizeof(long) << endl << "int " << sizeof(int) << endl << "float " << sizeof(float) << endl << "double " << sizeof(double) << endl << "long double " << sizeof(long double) << endl; } 10 + - * / 22 TSG No. 199

C++ 1 #include <iostream.h> main() { cout << "5 / 3 = " << 5 / 3 << endl; } 1 modulus operator % #include <iostream.h> main() { cout << "5 / 3 = " << 5 / 3 << "... " << 5 % 3 << endl; cout << "5 / 3 = " << 5.0 / 3.0 << endl; } 5 / 3 = 1... 2 5 / 3 = 1.66667 #include <iostream.h> 1: main() 2: { 3: short s; 4: float f; 5: f = 1.9; 6: s = f; 7: cout << s << endl; 8: f = 100000.0; 9: s = f; 10: cout << s << endl; 11: } 1-31072 6 9 8 f short +32767 s 10.1 C++ TSG No. 199 23

C++ 1 a++ a-- a += b a = b = c a = (b = c) a = b++ a = ++b a 1 a 1 a b a b c a b b 1 b 1 a b 11 2 (1, 2) (3, 4) C++ math.h sqrt() math.h #include <iostream.h> #include <math.h> main() { double distance = sqrt( (1-3)*(1-3) + (2-4)*(2-4) ); cout << distance; } 2 distance() #include <iostream.h> #include <math.h> main() { cout << distance(1, 2, 3, 4); cout << distance(5.1, 6.2, 7.3, 8.4); } C++ distance() 1:double distance(double x1, double y1, double x2, double y2) 2:{ 3: double result; 4: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 5: return result; 6:} 24 TSG No. 199

C++ 1 1 double distance() double 5 return result result double 1 double distance() () double x1, double y1, double x2, double y2 double x1,y1,x2,y2 #include <iostream.h> #include <math.h> double distance(double x1, double y1, double x2, double y2) { double result; result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); return result; } main() { cout << distance(1, 2, 3, 4); cout << distance(5.1, 6.2, 7.3, 8.4); } distance() 11.1 distance() 1 debug distance() distance() 2 distance() 3 distance() main() distance() TSG No. 199 25

C++ 1 12 cin >> #include <iostream.h> main() { cout << " " << endl; int width, length, height; cin >> width >> length >> height; cout << " " << width * length * height << end; } cout cin #include <iostream.h> C++ UNIX MS-DOS 2 xss01> hello >output output hello, world output <input redirection 12.1 C++ 2 1 2 // 2 /* */ #include <iostream.h> // main() { 26 TSG No. 199

C++ 1 } /* */ // double pi = 3.14159, r = 1.41; // cout << 2 * pi * r << endl; /* */ cout << pi * r * r << endl; /* * */ /*--------------------- ---------------------*/ /************************ * */ 13 2 1: #include <iostream.h> 2: #include <math.h> 3: 4: double distance(double x1, double y1, double x2, double y2) 5: { 6: double result; 7: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } 10: 11: main() 12: { 13: double x1,y1, x2,y2; 14: cout << " 2 " << endl; 15: cout << " 1 x "; 16: cin >> x1; 17: cout << " 1 y "; 18: cin >> y1; 19: cout << " 2 x "; 20: cin >> x2; 21: cout << " 2 y "; 22: cin >> y2; TSG No. 199 27

C++ 1 23: 24: cout << " " << distance(x1,y1, x2,y2) << endl; 25: cout << "2 (" << x1 << "," << y1 << ") (" 26 << x2 << "," << y2 << ")" << endl; 27: } distance() 2 distance() 7 8 x1 = 0; y1 = 0; x2 = 0; y2 = 0; 0 distance() x1,y1,x2,y2 main() scope local variable automatic variable global variable distance() result 1: #include <iostream.h> 2: #include <math.h> 3: 4: double result; 5: void distance(double x1, double y1, double x2, double y2) 6: { 7: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return; 9: } 10: 11: main() 12: { 13: double x1,y1, x2,y2; 14: cout << " 2 " << endl; 15: cout << " 1 x "; 16: cin >> x1; 17: cout << " 1 y "; 18: cin >> y1; 19: cout << " 2 x "; 20: cin >> x2; 21: cout << " 2 y "; 22: cin >> y2; 23: distance(x1,y1, x2,y2); 24: cout << " " << result << endl; 28 TSG No. 199

C++ 1 25: cout << "2 (" << x1 << "," << y1 << ") (" 26 << x2 << "," << y2 << ")" << endl; 27: } 4 result 7 24 distance() void 14 extent distance() 1: double distance(double x1, double y1, double x2, double y2) 2: { 3: int counter = 0; 4: counter++; 5: cout << "distance() called " << counter << "time(s)" << endl; 6: 7: double result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } distance() called 1 time(s) C++ distance() distance() counter counter 3 0 4 counter 1 5 1 8 return counter result counter counter distance() counter 0 1 counter dynamic extent static extent TSG No. 199 29

C++ 1 counter counter distance() C++ static 1: double distance(double x1, double y1, double x2, double y2) 2: { 3: static int counter = 0; 4: counter++; 5: cout << "distance() called " << counter << "time(s)" << endl; 6: 7: double result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } distance() 15 C++ Boolean expression true false 0 0 if if( ){ } else{ } {} else{} #include <iostream.h> main() { int temperature; cout << " "; cin >> temperature; if(temperature > 25) cout << " " << endl; else if(temperature < 10) cout << " " << endl; 30 TSG No. 199

C++ 1 else cout << " " << end; } 25 10 else if 2 a == b a!= b a > b a < b a >= b a <= b a b = a b a b a b a b a b == = if(temperature = 100) cout << " " << endl; C++ temperature = 100 100 (temperature = 100) == 100 x = y = 0 x y 0 0 temperature = 100 15.1 C++ 0 0 #include <iostream.h> main() { int number; cout << "0 "; cin >> number; if(number) cout << " " << endl; else cout << "0 " << end; } if(number) TSG No. 199 31

C++ 1 16 while while while( ){ } { } { } { } a n power(a,n) #include <iostream.h> int power(int a, int n) { int result = 1; // 0 while(n!= 0){ result = result * a; n--; } return result; } main() { int a,n; cout << "a "; cin >> a; cout << "n "; cin >> n; cout << "a n " << power(a,n) << " " << endl; } while(n!= 0) while(n) n!= 0 17 for while for 32 TSG No. 199

C++ 1 for( ; ; ;){ } { } for for 1 n sum(n) #include <iostream.h> int sum(int n) { int result = 0; for(int i = 1; i <= n; i++) result += i; return result; } main() { int n; cout << "n "; cin >> n; cout << "1 n " << sum(n) << " " << endl; } for int i = 1; for { } { } for(; ;){} while( ){} while for 17.1 a n power() math.h log() exp() To be continued... TSG No. 199 33

8086 8086 2 95 (T_T) 8MB 95 2 2 0 1 1 0 1 0 01H 02H 03H 04H 05H 06H 04H 00101000 8 1 16 34 TSG No. 199

8086 Z80 16... B01A MOV AL,1A 1 1 MOV 8 16 CPU MOV MOV < >, < > MOV 16H AL MOV AL,16H 0541H AL MOV [0541H],AL [] MOV 0541H,AL MOV AL,16H MOV AL,[16H] 0016H AL TSG No. 199 35

8086 1 16 1 1A56H AX MOV AX, 1A56H 1 1AH AH 56H AL 1 8086 CPU MOV [0123H],AX CPU AX 16 0123H 0124H AH 0124H AL 0123H AX BX MOV [BX],AX [] BX AX BX AX C 1) MOV [BX + 5],AX BX 5 AX MOV MOV 2 CS MOV 3 MOV AL,0AAH MOV [0123H],AL MOV [0123H],0AAH 1) 36 TSG No. 199

8086 MOV AL,[0123H] MOV [3210H],AL MOV [3210H],[0123H] (AX,BX,CX,DX,SI,DI,BP,SP) (10H,1234H ) (CS,DS,ES,SS) ([01234h] [45ACH] ) CS MOV AX,[BX+5] MOV AX,[BX+SI+5] 5 (BX,BP) + : [BP+1] TSG No. 199 37

8086 (SI,DI) + : [SI+6] (BX,BP) + (SI,DI) + : [BX+DI+4], [BP+SI+6], [BX+DI+7] 1 1 CPU ALU (Arithmetic and Logic Unit) ALU 0 CPU 8086 ADD < >, < > AL 1 2AH ADD AL,2AH AL 11H AL 3BH SUB < >, < > AL 1234H SUB AL,[1234H] AL 38 TSG No. 199

8086 +1 1 ADD +1 1 ADD INC < > INC AL ADD AL,1 DEC < > MOV BL,34H ;BL 1 34 MOV AL,BL ;AL BL INC AL ;AL MOV [A123H],AL ;AL DEC BL ;BL ADD AL,BL ;AL BL SUB AL,BL ;AL BL (^_^; 2 ALU 16 1 0 TSG No. 199 39

8086 OF DF IF TF SF ZF AF PF CF OF DF IF TF SF ZF AF BCD PF 1 CF 1 CMP < >, < > SF,ZF,PF AX AL DX 40 TSG No. 199

8086 MUL < > 8 AL AX 16 AX DX AX MUL BX AX DX AX DIV < > 8 AX AL AH 16 DX 16 AX 16 32 AX DX MUL,DIV PTR 8 16 1 1 PTR BYTE PTR [ ] WORD PTR [ ] 2 INC [0123H] INC BYTE PTR [0123H] INC WORD PTR [0123H] MOV [0FFFH], 3AH TSG No. 199 41

8086 MOV BYTE PTR [0125H],3AH MOV WORD PTR [0125H],3AH [0126H] 00H 42 TSG No. 199

1 ASCII MS-DOS/Windows Mac ASCII JIS( JIS) UNIX JIS EUC JIS Unicode Windows95/NT? JIS? EUC 2?? (^_^) 1 (1970 ) 1978 JIS TSG No. 199 43

1.1 JIS ASCII 0x00 0x1F 0x7F 0x20 0x7E 0x21 0x5F (7 ) / 0xA1 0xDF (8 ) 0x2121 0x7E7E ( 1 2 0x21 0x7E) 0x2121 0x7E7E ( 1 2 0x21 0x7E) ASCII ASCII ASCII ESC $ @ ESC $ B ESC ( B ESC ( J ESC $ ( D 7 ASCII SO (0x0E) ESC ( I SI (0x0F) ESC ( B ESC ( J 7 7 JIS 8 8 JIS JIS 7 7 98 N 88 BASIC PC-PR ESC K ESC H NEC JIS 1.2 JIS (MS ) UNIX(NEWS-OS HP-UX ) 16 Multi16 Multi16 CP/M-86 JIS 44 TSG No. 199

ASCII 0x00 0x1F 0x7F 0x20 0x7E 0xA1 0xDF 0x8140 0x9FFC 0xE040 0xFCFC ( 1 : 0x81 0x9F 0xE0 0xFC 2 : 0x40 0x7E 0x80 0xFC) 8 ASCII JIS JIS 1 ASCII 1 2 ASCII 0x20 0x3F 0x7F ASCII 1:2 1:2 JIS ( ) 2 0x40 0x7E ( ASCII \ 0x5C) MSB 1.3 EUC UNIX EUC Extended UNIX Code UNIX EUC EUC EUC EUC EUC UJIS (Unixized JIS) ASCII 0x00 0x1F 0x7F 0x20 0x7E 0xA1A1 0xFEFE ( 1 2 0xA1 0xFE) 0x8EA1 0x8EDF 0x8FA1A1 0x8FFEFE ( 2 3 0xA1 0xFE) JIS JIS JIS MSB 1 TSG No. 199 45

0x8E 2 0x8F 3 1 2 ASCII ASCII JIS JIS EUC EUC JIS JIS 2 ASCII 1 ASCII 1 2.1 ASCII (American Standard Code for Information Interchange) ASCII 7 0x00 0x1F 0x20 0x21 0x7E 0x7F (control characters) (SP) (graphic characters) DEL (delete) 46 TSG No. 199

0x5C 0x7C 0x7E \ ( ) ( ) ~ ( ) ASCII 7 0x80 0xFF 0x80 0xFF ASCII DEL 0x7F? 2 1/0 (SunOS ppt(6) ) 1 7 7 1 7 1 0x7F 2.2 ISO 646 ISO (International Standardization Organization ) ISO CD-ROM MO ISO ISO ISO 646 / ASCII / IRV (International Reference Version) IRV ASCII ( ) IRV 12 IRV(ASCII) 0x23 # 0x5C \ 0x7B { 0x24 $ 0x5D [ 0x7B 0x40 @ 0x5E ^ 0x7B } 0x5B [ 0x60 0x7B ~ ISO 646 ASCII ISO 646 TSG No. 199 47

BS(backspace) â ^ BS a ISO 646 IRV 0x5C (Y=) 0x7E ( _ ) JIS X 0201 JIS JIS (JIS Roman) 0x5C 0x7E NEC PC 0x7E IRV 0x7C IRV JIS X 0201 PC 0x21 0x7E ISO 646 ( 0x60 ) ISO 646 ISO 646 7 JIS X 0201 C UNIX ü é C UNIX ( C ) ASCII ISO 8859-1 ( ) 8 7 ISO 646 ISO 646 ( ) ASCII 2.3 8 ( ) ISO 646 / /ASCII ISO 646 48 TSG No. 199

ISO 646( ASCII) 8 0x80 0xFF JIS JIS X 0201 ISO 646 8 0xA1 0xDF JIS X 0201 (0x00 0x7F) ISO 646 (0x80 0xFF) ASCII 8 IBM PC PC DOS 437 Windows OEM EGA VGA PCG ( :-) ) IBM PC DOS Macintosh IBM PC ( ) 437 IBM PC 850 ( ) 852 ( ) 857 860 861 863 865 869 932 (JIS X 0201) ISO ASCII 8 ISO 8859 IBM PC ASCII ( 10 ) TSG No. 199 49

1: JIS X 0201 50 TSG No. 199

ISO 8859-1 (Latin-1) ISO 8859-2 (Latin-2) ISO 8859-3 (Latin-3) ISO 8859-4 (Latin-4) ISO 8859-5 ISO 8859-6 ISO 8859-7 ISO 8859-8 ISO 8859-9 (Latin-5) ISO 8859-10 (Latin-6) ISO 8859-1 Latin-1 xterm 8 Latin-1 Windows ANSI Latin-1 ISO 8859 IBM ISO 8859 ISO 646 Latin-1 8 8859 646 8 646 ISO 8 (8859 ) 0x00 0x1F 0x20 0x7E 0x7F 0x80 0x9F 0xA0 0xFF ASCII DEL TSG No. 199 51

2: Latin 1 52 TSG No. 199

3: ISO 8859-8 TSG No. 199 53

ISO 2022 3 : JIS 3.1 JIS X 0208 3.2 JIS X 0212 3.3 (coded character set) 3.4 (encoding method, encoding scheme) 4 : ISO-2022 4.1 ISO 2022 4.2 7 4.3 ISO 2022 4.4 : 4.5 8 4.6 ISO 2022 4.7 ISO 2022 5 : ISO 2022 5.1 EUC 5.2 JIS (JUNET ISO-2022-JP) 5.3 JIS 5.4 ISO 8859 JIS X 0201 5.5 C1 6 : 6.1 GB 2312 6.2 Big-5 CNS 11643 6.3 KS C 5601 6.4 7 : ISO 10646 Unicode 7.1 ISO 10646 7.2 UCS 7.3 UTF 54 TSG No. 199

TSG Ver. 1.0 TSG Ver. 1.0 ZERO [47 ] [ ] ( ) italk italk ( ) italk ( ) [ italk] [ ] ( ) 1. ( ) TSG G T TSG [ ] 2. 305 [ BBS] ( ) TSGer ( ) BBS TSGer (^^; TSG ( news ) ( ) 1. ( ) BBS 2. TSG ( ) TSG No. 199 55

TSG Ver. 1.0 ( ) (!) ( ) [ ] ( ) Trade MO ( ) ( ) [ ] [ ] ( )? ( ) G H ( ) G ( ) [ ] ( ) TV ( ) TSG TV LD (^^; [ ] ( )! ( 56 TSG No. 199

TSG Ver. 1.0 ( )) [ ] [ ] ( ) TSG H [ ] [ ] ( ) TSG ( ) (?) ( 2 ) (^^; [ ] ( ) (^^; FM-TOWNS ( ) ( ) [ ] [ ] (?) ( ) ( ) (?) ( ) ( ) ( ) ( : ) ( ) TSG No. 199 57

TSG Ver. 1.0 TSG (!) ( ) (! ) [ ] ( ) 4 PS ( )?( ) [ ] ( ) TSG italk italk...( ) Zepher [ ] [ ] ( ) 2! (^^; [ ] ( ) TSG 1 ( ) ( ) [ TSG No.195] ( ) TSG... ( ) [ ] 58 TSG No. 199

TSG Ver. 1.0 [ ] ( ) Time Attack 01 F1 T O 4 305 98 2 ( ) TSG ( ) :! T( ) [ ] [TSG] ( )...(!) [ ] [ ] ( ) 3D PS 2 ( ) ( ) [ 2] 2 [ 2] ( ) K 305 ( 2 ( )) 305 TV 2 ( ) [ ] [TEX] ( ) TSG No. 199 59

TSG Ver. 1.0 ( ) TEX tex ( ) ( ) 64 [ 64] ( ) 90 ( ) TSG! [ ] [ ] ( ) [ ] ( ) PS! 2 1 [ ] [ ] ( ) ( ( )) 2 TSG ( ) 1 1000 [ ] ( ) 60 TSG No. 199

TSG Ver. 1.0 [ ] ( ) No.78 TSG ( ) ( ) ( ) [ ] ( ) TSG ( ) ( )?( ) [ ] ( ) 2 1 ( ) ( ) (TSG ( )) TSG [ ] ( ) SONY 2 TSG No. 199 61

TSG Ver. 1.0 2 RR (?) FF VII [ 64 ] [ ] ( ) TSG ( ) ( (^^; ) (^^; [ ] [ ] ( ) TSG 3 05 TV PS MD 305 TSGer ( ) 305 X 3 GANA [ ] ( ) ( ) TEX (^^; ( ) Windows 1 TSG Windows T G [ ] [ ] ( ) 62 TSG No. 199

TSG Ver. 1.0 1. Windows (^^; OS! 2. ( ) [ ] ( ) ( ) [ ] ( ) 1 ( Xa/C10 ( )) ( ) (^^; VR ( ) ( ) TV ( ) [ 64 ] ( ) ( ) ( ) ( ) ( ) ( ) [ ] ( ) 300km/h ( 300km/h ) TSG No. 199 63

TSG Ver. 1.0 ( ) [ ] [ ] ( ) 305 2 1 Theoretical Science Group TSG (?) TSG ( ) (^^; (^^; (^^; [ ] : (^^; TSG 3 2 (^^; (^^; written by ZERO 64 TSG No. 199

6 (^^;; 100 80 200 199 1996 5 18 1998 7 25 pdf 2 2009 4 15 pdf 3 153 3 8 1 305 Telephone: 03 5454 4343 (C) Theoretical Science Group, University of Tokyo, 1996. All rights are reserved. Printed in Japan.

199 1996 5 18 T HEORET ICAL SCIEN CE GROUP