untitled

Size: px
Start display at page:

Download "untitled"

Transcription

1 <inline.h> H8/300,H8S,H8SX [H8S,H8/300 Tool Chain Ver ] #define Inline static inline //************************************************** Inline char sil_and_mem(char *mem,char and) return (*((volatile char *) mem) &= and); //************************************************** Inline char sil_xor_mem(char *mem,char xor) return (*((volatile char *) mem) ^= xor); <inline.h> SH-2/E/A [SuperH RISC engine Tool Chain Ver ] #define Release // debug #ifdef Release #pragma inline(sil_and_mem) #pragma inline(sil_xor_mem) #endif //************************************************** static char sil_and_mem(char *mem,char and) return (*((volatile int *) mem) &= and); //************************************************** static char sil_xor_mem(char *mem,char xor) return (*((volatile char *) mem) ^= xor);

2 H8S,H8/300 Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [1-1-1] <main.c> ELF/Dwarf2 Inline

3 [1-1-2] main.c main.c [1-1-3] main.c main.c inline.h

4 [1-1-4] inline.h inline.h inline.h(add File) [1-1-5] inline.h CTrace main.c CTrace inline.h PC

5 [1-1-6] inline.h inline.h inline.h [1-1-7] inline.h CTrace main.c CTrace inline.h PC

6 H8S,H8/300 Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [1-2-1] <main.c> ELF/Dwarf2 Inline

7 [1-2-2] main.c main.c [1-2-3] main.c main.c inline.h

8 [1-2-4] inline.h inline.h inline.h(add File) [1-2-5] inline.h CTrace main.c CTrace inline.h PC

9 [1-2-6] inline.h inline.h inline.h [1-2-7] inline.h CTrace main.c CTrace inline.h PC

10 SuperH RISC engine Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [1-3-1] <main.c> ELF/Dwarf2

11 [1-3-2] <inline.h> SH-2/E/A [SuperH RISC engine Tool Chain Ver ] // #define Release // debug #ifdef Release #pragma inline(sil_and_mem) #pragma inline(sil_xor_mem) #endif //************************************************** static char sil_and_mem(char *mem,char and) return (*((volatile int *) mem) &= and); //************************************************** static char sil_xor_mem(char *mem,char xor) return (*((volatile char *) mem) ^= xor); Inline static [1-3-3] static <main.c> ELF/Dwarf2 DEF Inline (Add File)

12 [1-3-4] static main.c (Add File) [1-3-5] static main.c

13 [1-3-6] static main.c static

14 [1-3-7] static inline.h [1-3-8] main.c CTrace main.c CTrace inline.h

15 <main.c> H8/300,H8S,H8SX [H8S,H8/300 Tool Chain Ver ] #define Inline static inline //**********************************************************************/ Inline char sil_and_mem(char *mem,char and) return(*((volatile char *) mem) &= and); // line(16) //**********************************************************************/ Inline char sil_xor_mem(char *mem,char xor) return(*((volatile char *) mem) ^= xor); // line(21) //**********************************************************************/ // char Temp[2]; // Inline void main(void) char *mem; while(1) // line(30) mem = (char *)0xffe000; // line(31) Temp[0] = sil_and_mem((char *)mem+0x100,0x10); // line(32) Temp[1] = sil_xor_mem((char *)mem+0x100,0x20); // line(33) Temp[0] = sil_and_mem((char *)mem+0x102,0x10);// line(34) Temp[1] = sil_xor_mem((char *)mem+0x102,0x20);// line(35) Temp[0] = sil_and_mem((char *)mem+0x100,0x40);// line(36) <main.c> SH-2/E/A [SuperH RISC engine Tool Chain Ver ] #define Release // debug #ifdef Release #pragma inline(sil_and_mem) #pragma inline(sil_xor_mem) #endif //***********************************************************************/ static char sil_and_mem(char *mem,char and) return(*((volatile char *) mem) &= and);// line(13) //***********************************************************************/ static char sil_xor_mem(char *mem,char xor) return(*((volatile char *) mem) ^= xor);// line(24) // char Temp[2]; // Inline void main(void) char *mem; while(1) // line(32) mem = (char *)0xffe000; // line(33) Temp[0] = sil_and_mem((char *)mem+0x100,0x10);// line(34) Temp[1] = sil_xor_mem((char *)mem+0x100,0x20);// line(35) Temp[0] = sil_and_mem((char *)mem+0x102,0x10);// line(36) Temp[1] = sil_xor_mem((char *)mem+0x102,0x20);// line(37) Temp[0] = sil_and_mem((char *)mem+0x100,0x40);//line(38)

16 H8S,H8/300 Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [2-1-1] main.c> ELF/Dwarf2 Inline

17 [2-1-2] main.c main.c (Add File) [2-1-3] main.c main.c

18 [2-1-4] CTrace main.c CTrace PC

19 [2-1-5] main.c [2-1-6] CTrace main.c CTrace PC

20 H8S,H8/300 Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [2-2-1] <main.c> ELF/Dwarf2 Inline

21 [2-2-2] main.c main.c (Add File) [2-2-3] main.c main.c

22 [2-2-4] CTrace main.c CTrace PC

23 [2-2-5] main.c [2-2-6] CTrace main.c CTrace PC

24 SuperH RISC engine Tool Chain(Ver ) C/C++ Compiler(Ver ) Assmebler(Ver ) Optimizing Linkage Editor(Ver ) [2-3-1] <main.c> ELF/Dwarf2

25 [2-3-2] <main.c> SH-2/E/A [SuperH RISC engine Tool Chain Ver ] // #define Release // debug #ifdef Release #pragma inline(sil_and_mem) #pragma inline(sil_xor_mem) #endif //***********************************************************************/ static char sil_and_mem(char *mem,char and) return(*((volatile char *) mem) &= and); //***********************************************************************/ static char sil_xor_mem(char *mem,char xor) return(*((volatile char *) mem) ^= xor); // char Temp[2]; // Inline void main(void) char *mem; while(1) mem = (char *)0xffe000; Temp[0] = sil_and_mem((char *)mem+0x100,0x10); Temp[1] = sil_xor_mem((char *)mem+0x100,0x20); Temp[0] = sil_and_mem((char *)mem+0x102,0x10); Temp[1] = sil_xor_mem((char *)mem+0x102,0x20); Temp[0] = sil_and_mem((char *)mem+0x100,0x40); Inline static [2-3-3] static <main.c> ELF/Dwarf2 static Inline (Add File)

26 [2-3-4] static main.c (Add File)

27 [2-3-5] static main.c [2-3-6] static main.c static

28 [2-3-7] Inline Inline CView SW inline inline [2-3-4] Add File [2-3-8] Inline main.c main.c inline SW

29 [2-3-9] SW [2-3-10] SW [2-3-11] SW [2-3-12] SWm

SuperH RISC engineファミリ用 C/C++コンパイラパッケージ V.7~V.9 ご使用上のお願い

SuperH RISC engineファミリ用 C/C++コンパイラパッケージ V.7~V.9 ご使用上のお願い ツールニュース RENESAS TOOL NEWS 2014 年 02 月 01 日 : 140201/tn1 SuperH RISC engine ファミリ用 C/C++ コンパイラパッケージ V.7~V.9 ご使用上のお願い SuperH RISC engine ファミリ用 C/C++ コンパイラパッケージ V.7~V.9の使用上の注意事項 4 件を連絡します 同一ループ内の異なる配列要素に 同一の添え字を使用した場合の注意事項

More information

double float

double float 2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................

More information

新・明解C言語 実践編

新・明解C言語 実践編 第 1 章 見 21 1-1 見えないエラー 見 List 1-1 "max2x1.h" a, b max2 List 1-1 chap01/max2x1.h max2 "max2x1.h" #define max2(a, b) ((a) > (b)? (a) : (b)) max2 List 1-2 List 1-2 chap01/max2x1test.c max2 #include

More information

SuperH RISC engine C/C++ コンパイラ Ver.7 不具合内容 - 過去のお知らせ SuperH RISC engine C/C++ コンパイラ Ver.7 台における不具合内容を以下に示します のチェックツールをルネサスエレクトロニクス株式会社のホームページ

SuperH RISC engine C/C++ コンパイラ Ver.7 不具合内容 - 過去のお知らせ SuperH RISC engine C/C++ コンパイラ Ver.7 台における不具合内容を以下に示します のチェックツールをルネサスエレクトロニクス株式会社のホームページ SuperH RISC engine C/C++ コンパイラ Ver.7 不具合内容 - 過去のお知らせ SuperH RISC engine C/C++ コンパイラ Ver.7 台における不具合内容を以下に示します 1. 2. 4. のチェックツールをルネサスエレクトロニクス株式会社のホームページより入手できます http//tool-support.renesas.com/jpn/toolnews/shc/shcv7/dr_shcv7_4.html

More information

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

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

High-performance Embedded Workshop V.4.09 リリースノート

High-performance Embedded Workshop V.4.09 リリースノート R20UT2059JJ0100 Rev.1.00 High-performance Embedded Workshop 1.... 2 1.1... 2 1.2... 2 1.3... 3 1.4... 5 1.5... 6 1.6... 7 1.7... 7 1.8... 7 1.9... 7 1.10... 7 1.11... 8 1.12... 8 1.13... 8 1.14... 8 1.15...

More information

橡Pro PDF

橡Pro PDF 1 void main( ) char c; /* int c; */ int sum=0; while ((c = getchar())!= EOF) if(isdigit(c) ) sum += (c-'0'); printf("%d\n", sum); main()int i,sum=0; for(i=0;i

More information

( ) ver.2015_01 2

( ) ver.2015_01 2 1 1.1 1.2 1.3 2 ( ) 2.1 2.2 2.3 2.4 3 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 6 6.1 6.2 6.3 7 7.1 7.2 7.3 8 ver.2015_01 2 1 1.1 1.2 1.3 ver.2015_01 3 2 2.1 2.2 2.3 ver.2015_01 4 2.4 ver.2015_01

More information

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

橡matufw

橡matufw 3 10 25 3 18 42 1 2 6 2001 8 22 3 03 36 3 4 A 2002 2001 1 1 2014 28 26 5 9 1990 2000 2000 12 2000 12 12 12 1999 88 5 2014 60 57 1996 30 25 205 0 4 120 1,5 A 1995 3 1990 30 6 2000 2004 2000 6 7 2001 5 2002

More information

O

O 11 2 1 2 1 1 2 1 80 2 160 3 4 17 257 1 2 1 2 3 3 1 2 138 1 1 170 O 3 5 1 5 6 139 1 A 5 2.5 A 1 A 1 1 3 20 5 A 81 87 67 A 140 11 12 2 1 1 1 12 22 1 10 1 13 A 2 3 2 6 1 B 2 B B B 1 2 B 100 B 10 B 3 3 B 1

More information

program.dvi

program.dvi 2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation

More information

「東京こどもネット・ケータイヘルプデスク(こたエール)」平成22年度相談実績の概要

「東京こどもネット・ケータイヘルプデスク(こたエール)」平成22年度相談実績の概要 734, 35% 62, 11% 84, 16% 530, 26% 235, 11% PC) 396, 73% 579, 28% ) (21 ) 2 3 4 5 6 7 8 9 10 11 12 13 200 150 100 22 182 200 150 100 22 50 54 PC 49 52 PC 50 41 14 17 1 1 4 16 3 6 14 180 250 200 150 235

More information

2014-11.key

2014-11.key 2014-11 1 2 3 4 5 7 8 9 10 11 12 PC 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68

More information

6 30 2005 10 1 65 2,682 00 21.9 481 1 2,776 21.0 15 1,740 00 5.8 107 13.6 40 2025 24.2-0 - -1 - -2 - -3 - -4 - -5 - -6 - -7 - -8- -9 - - 10 - -11 - - 12 - - 13-10 11 59 4 59 3 10 17 - 14 - - 15 - - 16

More information

新版明解C言語 実践編

新版明解C言語 実践編 2 List - "max.h" a, b max List - max "max.h" #define max(a, b) ((a) > (b)? (a) : (b)) max List -2 List -2 max #include "max.h" int x, y; printf("x"); printf("y"); scanf("%d", &x); scanf("%d", &y); printf("max(x,

More information

C言語によるアルゴリズムとデータ構造

C言語によるアルゴリズムとデータ構造 Algorithms and Data Structures in C 4 algorithm List - /* */ #include List - int main(void) { int a, b, c; int max; /* */ Ÿ 3Ÿ 2Ÿ 3 printf(""); printf(""); printf(""); scanf("%d", &a); scanf("%d",

More information

新コンフィギュレータのフレームワークについて

新コンフィギュレータのフレームワークについて : 2007 12 7 6: 2009 5 9 TOPPERS 1.... 4 1.1... 4 1.2 TOPPERS... 4 2.... 4 2.1... 4 3.... 8 4.... 9 4.1... 9 4.2... 10 4.3... 10 4.3.1... 11 4.3.2 INCLUDE... 11 4.3.3 C... 12 4.4 API... 14 4.2.1 API...

More information

untitled

untitled C C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 C 10 C 11 C 12 C 13 A V1 V2 B V2 V1 B A A B V1 V2 2 A B A B A B C 14 A B 2 B A V2 A B 2 V1 C 15 C 16 C 17 #ifdef #endif C 18 C 19 A B B C C A A B C A C 20 C 21 C 22 A

More information

Microsoft PowerPoint - 計算機言語 第7回.ppt

Microsoft PowerPoint - 計算機言語 第7回.ppt 計算機言語第 7 回 長宗高樹 目的 関数について理解する. 入力 X 関数 f 出力 Y Y=f(X) 関数の例 関数の型 #include int tasu(int a, int b); main(void) int x1, x2, y; x1 = 2; x2 = 3; y = tasu(x1,x2); 実引数 printf( %d + %d = %d, x1, x2, y);

More information

SH7216 グループ USB ファンクションモジュール USB コミュニケーションクラス アプリケーションノート

SH7216 グループ USB ファンクションモジュール USB コミュニケーションクラス アプリケーションノート SH7216 USB USB SH7216 USB USB USB SH7216 R01AN2201JJ0100 Rev.1.00 1.... 2 2.... 3 3. USB... 19 4.... 25 R01AN2201JJ0100 Rev.1.00 Page 1 of 26 SH7216 USB USB 1. SH7216 USB USB USB 1.1 INTC PFC USB USB SCI

More information

untitled

untitled II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}

More information

RXファミリ 多重割り込みの使い方 アプリケーションノート

RXファミリ 多重割り込みの使い方 アプリケーションノート RAN954JJ Rev.. RX.... 2 2.... 4 3.... 4 4.... 5 5.... 6 6.... 4 7.... 4 RAN954JJ Rev.. Page of 5 . IRQ IRQ3 PSW I PSW I I. #pragma interrupt (enable) : RX22 IRQ #pragma interrupt (Excep_IRQm (enable,vect=65))

More information

SystemC言語概論

SystemC言語概論 SystemC CPU S/W 2004/01/29 4 SystemC 1 SystemC 2.0.1 CPU S/W 3 ISS SystemC Co-Simulation 2004/01/29 4 SystemC 2 ISS SystemC Co-Simulation GenericCPU_Base ( ) GenericCPU_ISS GenericCPU_Prog GenericCPU_CoSim

More information

Blackfin(ADSP-BF533)活用ハンドブック

Blackfin(ADSP-BF533)活用ハンドブック () 103 Column 5-A C: Program Files Analog Devices VisualDSP 3.5 16-Bit C: Program Files Analog Devices VisualDSP 4.0 104 ( ) ( ) ( ) Column 5-B () () 105 ( ) ( ) 106 ( ).vdu () http://www.analog.com/processors/processors/blackfin/crosscore/toolsupgrades/

More information

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

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 I 4 003 4 30 1 ASCII ( ) 0 17 0 NUL 16 DLE SP 0 @ P 3 48 64 80 96 11 p 1 SOH 17 DC1! 1 A Q a 33 49 65 81 97 113 q STX 18 DC " B R b 34 50 66 8 98 114 r 3 ETX 19 DC3 # 3 C S c 35 51 67 83 99 115 s 4 EOT

More information

I. Backus-Naur BNF : N N 0 N N N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) (2) (3) (4) II. 0(0 101)* (

I. Backus-Naur BNF : N N 0 N N N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) (2) (3) (4) II. 0(0 101)* ( 2016 2016 07 28 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF : 11011 N N 0 N N 11 1001 N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) 1100100 (2) 1111011 (3) 1110010 (4) 1001011

More information

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

解きながら学ぶC++入門編 !... 38!=... 35 "... 112 " "... 311 " "... 4, 264 #... 371 #define... 126, 371 #endif... 369 #if... 369 #ifndef... 369 #include... 3, 311 #undef... 371 %... 17, 18 %=... 85 &... 222 &... 203 &&... 40 &=...

More information

第5回お試しアカウント付き並列プログラミング講習会

第5回お試しアカウント付き並列プログラミング講習会 qstat -l ID (qstat -f) qscript ID BATCH REQUEST: 253443.batch1 Name: test.sh Owner: uid=32637, gid=30123 Priority: 63 State: 1(RUNNING) Created at: Tue Jun 30 05:36:24 2009 Started at: Tue Jun 30 05:36:27

More information

I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara

I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara yasu@jaist.ac.jp / SCHEDULE 1. 2011/06/07(Tue) / Basic of

More information

プログラミング及び演習 第1回 講義概容・実行制御

プログラミング及び演習 第1回 講義概容・実行制御 プログラミング及び演習 第 12 回大規模プログラミング (2015/07/11) 講義担当情報連携統轄本部情報戦略室大学院情報科学研究科メディア科学専攻教授森健策 本日の講義 演習の内容 大きなプログラムを作る 教科書第 12 章 make の解説 プログラミングプロジェクト どんどんと進めてください 講義 演習ホームページ http://www.newves.org/~mori/15programming

More information

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v 1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );

More information

PowerPoint Presentation

PowerPoint Presentation p.130 p.198 p.208 2 double weight[num]; double min, max; min = max = weight[0]; for( i= 1; i i < NUM; i++ ) ) if if ( weight[i] > max ) max = weight[i]: if if ( weight[i] < min ) min = weight[i]: weight

More information

thesis.dvi

thesis.dvi H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.

More information

Smalltalk_

Smalltalk_ DLLCC VisualWorks C Mac OS SSK-LampControl/ VisualWorksWithJun SSK-LampControl.h include SSK SSK FileBrowser SSK-LampControl.st FIle in SSK-LampControl File in SSK File in ( Smalltalk.SSK) ( C ) Controller

More information

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * *

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * * 2015 2015 07 30 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) +

More information

RubyKaigi2009 COBOL

RubyKaigi2009 COBOL RubyKaigi2009 COBOL seki@druby.org 3360 Pragmatic Bookshelf druby Web $32.00 International Journal of PARALLEL PROGRAMING !? MapReduce Rinda (map, reduce) map reduce key value [, ] [, ID] map()

More information

1 4 2 EP) (EP) (EP)

1 4 2 EP) (EP) (EP) 2003 2004 2 27 1 1 4 2 EP) 5 3 6 3.1.............................. 6 3.2.............................. 6 3.3 (EP)............... 7 4 8 4.1 (EP).................... 8 4.1.1.................... 18 5 (EP)

More information

橡中元雅美

橡中元雅美 VC++ 1 1 1 2 2 2.1 2 2.2 3 2.11 4 6 3 7 3.1 C 7 3.2 C VC++ 8 3.3 8 3.4 GUI 9 ( ) 10 4 11 4.1 11 4.2 14 4.3 16 4.4 17 18 5 19 20 21 2 1 VisualC++ 1 2 2.1 2.2 2 ( ).. IC etc( ) 3 IC IC 2.2 0.3 ( ) 4 IC 1

More information

橡furoku.PDF

橡furoku.PDF [ ] 364 [ ] A. 1 r p nm b 1 w2 l 4 s 4 [ ] d 8 [ ] s u r _subdr,_divdr _subd,_divd p nm _muli 2 _ to i u s d 3 _ sta_ sft sta_ l r *1 l a *2 0 31 *1 r *2 sta_ 4 365 [ ] B. B.1 Ver.1.0 Ver.2.0 SHC Ver.2.0

More information

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do (Version: 2017/4/18) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

Cコンパイラパッケージお知らせ

Cコンパイラパッケージお知らせ 201406-2 CubeSuite+ 版 RX ファミリ用 C/C++ コンパイラパッケージ V1 および High-performance Embedded Workshop 版 RX ファミリ用 C/C++ コンパイラパッケージ ご使用上のお願い CubeSuite+ 版 RX ファミリ用 C/C++ コンパイラパッケージ V1 および High-performance Embedded Workshop

More information

I J

I J I 065763J 8 7 7 31 jikken/ +----- accumulation_demupa.c +----- accumulation_rain.c +----- frequency_demupa.c +----- frequency_rain.c +----- go.sh +----- graph_maker.sh +----- mesure-ryudai/ 2007/4/1 2007/6/30

More information

A/B (2018/06/08) Ver kurino/2018/soft/soft.html A/B

A/B (2018/06/08) Ver kurino/2018/soft/soft.html A/B A/B (2018/06/08) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 6 8 A/B 1 2018 6 8 2 1 1 1.1 OHP.................................... 1 1.2

More information

-1 - -2 - -3 - -4-2000 -5 - -6 - -7 - -8 - -9 - - 10 - -11-60 200 2,000 1980 24-12 - - 13 - - 14 - - 15 - - 16 - - 17 - 1998 '98 593'98.4. 604'99.3. 1998 '98.10.10 11 80 '98.11. 81'99.3. 49 '98.11. 50

More information

mruby/c の PIC24 へのポーティング手順について 1. はじめに mruby/c を Microchip 社製 1chip マイコン PIC24 シリーズ用の Explorer 16/32 Development Board 上で動作させるための手順を記述する 2. 使用機材及び開発環境

mruby/c の PIC24 へのポーティング手順について 1. はじめに mruby/c を Microchip 社製 1chip マイコン PIC24 シリーズ用の Explorer 16/32 Development Board 上で動作させるための手順を記述する 2. 使用機材及び開発環境 mruby/c の PIC24 へのポーティング手順について 1. はじめに mruby/c を Microchip 社製 1chip マイコン PIC24 シリーズ用の Explorer 16/32 Development Board 上で動作させるための手順を記述する 2. 使用機材及び開発環境 2.1 使用機材 Explorer 16/32 Development Board (P/N DM240001)

More information

file:///D|/C言語の擬似クラス.txt

file:///D|/C言語の擬似クラス.txt 愛知障害者職業能力開発校 システム設計科 修了研究発表会報告書 題名 : C 言語の擬似クラス あらまし : C 言語でクラスを作れるという噂の真偽を確かめるために思考錯誤した まえがき : VC++ や Java その他オブジェクト指向の言語にはクラスが存在して クラスはオブジェクトの設計図である 手法 : C++ のクラスを解析して C++ のクラスを作成して C 言語に翻訳する class struct

More information

1: JX-model XML File Package Import Class Intf Ctor Method SInit Field Param Local ExtdOpt ImplOpt ThrwOpt Members QName Type Stmt Label Expr ident li

1: JX-model XML File Package Import Class Intf Ctor Method SInit Field Param Local ExtdOpt ImplOpt ThrwOpt Members QName Type Stmt Label Expr ident li Sapid JX-model ver. 1.3.13 2003 2 27 1 JX-model Java XML JX-model JX-model Java (Java 2 ver. 1.4) 20 7 JX-model 1 ^ $ Child nodes JX-model / ( ) JX-model @ @id @sort 1.1 File File JX-model XML /Package,

More information

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D 6 2019 5 14 6.1 Minimum C....................... 6 1 6.2....................................... 6 7 6.1 Minimum C Minimum C BNF T okenseq W hite Any Digit ::= 0 1 2... 9. Number ::= Digit Digit. Alphabet

More information

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2017 2017 08 03 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF X [ S ] a S S ; X X X, S [, a, ], ; BNF X (parse tree) (1) [a;a] (2) [[a]] (3) [a;[a]] (4) [[a];a] : [a] X 2 222222

More information

memo

memo 数理情報工学演習第一 C プログラミング演習 ( 第 5 回 ) 2015/05/11 DEPARTMENT OF MATHEMATICAL INFORMATICS 1 今日の内容 : プロトタイプ宣言 ヘッダーファイル, プログラムの分割 課題 : 疎行列 2 プロトタイプ宣言 3 C 言語では, 関数や変数は使用する前 ( ソースの上のほう ) に定義されている必要がある. double sub(int

More information

Microsoft Word - keisankigairon.ch doc

Microsoft Word - keisankigairon.ch doc 1000000100001010 1000001000001011 0100001100010010 1010001100001100 load %r1,10 load %r2,11 add %r3,%r1,%r2 store %r3,12 k = i + j ; = > (* 1 2 3 4 5 6 7 8 9 10) 3628800 DO 3 I=1,3 DO3I=1.3 DO3I 1.3

More information

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2018 2018 08 02 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF N N y N x N xy yx : yxxyxy N N x, y N (parse tree) (1) yxyyx (2) xyxyxy (3) yxxyxyy (4) yxxxyxxy N y N x N yx

More information

アプリケーションノート MT-R300 割り込みプログラムのデバッグ方法

アプリケーションノート MT-R300 割り込みプログラムのデバッグ方法 アプリケーションノート マイコントレーニングボード MT-R300 割り込みプログラムのモニタデバッグ方法 1. 概要 マイコントレーニングボード MT-R300 に搭載しているルネサステクノロジ社の 16 ビットマイコン HD64F3062BF ( 以下 H8/3062BF マイコン ) では H8/300H 用モニタプログラム ( 以下モニタプログラム ) を内蔵フラッシュメモリに書込むことで

More information

<4D F736F F D205B53616D706C655D95AA90CD8C8B89CA95F18D908F C8F9E91CE899E94C5292E646F63>

<4D F736F F D205B53616D706C655D95AA90CD8C8B89CA95F18D908F C8F9E91CE899E94C5292E646F63> XXXXX 御中 リファクタリングサービス分析結果報告書 ( 詳細版 ) Date: YYYY-MM-DD 目次 1. はじめに... 1 2. リファクタリングサービス分析結果詳細... 2 2.1. デッドコード... 2 2.1.1. 未使用ファイル... 2 2.1.2. 未使用関数... 2 2.1.3. 未使用関数プロトタイプ宣言... 3 2.1.4. 未使用マクロ... 3 2.2.

More information

main01a.dvi

main01a.dvi Tutorial1A Tutorial1A TA 23 10 13 1. 1A 2 H8/36064 Vstone (VS-WRC003 TA RAM ROM 1B ROM (http://www.ac.ctrl.titech.ac.jp/ss2 2011/index.html 2. H8 High-performance Embedded Workshop (HEW HTerm ROM Flash

More information

[ 1] 1 Hello World!! 1 #include <s t d i o. h> 2 3 int main ( ) { 4 5 p r i n t f ( H e l l o World!! \ n ) ; 6 7 return 0 ; 8 } 1:

[ 1] 1 Hello World!! 1 #include <s t d i o. h> 2 3 int main ( ) { 4 5 p r i n t f ( H e l l o World!! \ n ) ; 6 7 return 0 ; 8 } 1: 005 9 7 1 1.1 1 Hello World!! 5 p r i n t f ( H e l l o World!! \ n ) ; 7 return 0 ; 8 } 1: 1 [ ] Hello World!! from Akita National College of Technology. 1 : 5 p r i n t f ( H e l l o World!! \ n ) ;

More information

HEWの設定

HEWの設定 第 4 版 2007 年 4 月 CS0001(E)1107 HEW の 設 定 目 次 HEW の 設 定 資 料 構 成 Chapter 1. はじめに 3 1-1 資 料 内 容 3 1-2 注 意 事 項 3 Chapter 2. HEWの 設 定 4 2-1 HEW3/HEW4 の 設 定 5 2-2 HEW2/HEW3 の 設 定 12 2-3 HEWの 設 定 16 Chapter 3.

More information

1:. Csmith,, (B!=0? A/B : A),.,., Orange3 [3], Orange4 [4],., Csmith., Csmith GCC LLVM.,,., Orange3, Orange4,, if for., Orange4, C, Csmith.,., if, for

1:. Csmith,, (B!=0? A/B : A),.,., Orange3 [3], Orange4 [4],., Csmith., Csmith GCC LLVM.,,., Orange3, Orange4,, if for., Orange4, C, Csmith.,., if, for C 1 1 1, C,.,,, if, for,.,, while, switch,,,. Orange4,, GCC-8.0.0 LLVM/Clang-6.0 ( 2017 12 ).,,,, Enriching Generation of Control Statements and Data Structures for Random Test of C Compilers Based on

More information

A/B (2010/10/08) Ver kurino/2010/soft/soft.html A/B

A/B (2010/10/08) Ver kurino/2010/soft/soft.html A/B A/B (2010/10/08) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2010/soft/soft.html 2010 10 8 A/B 1 2010 10 8 2 1 1 1.1 OHP.................................... 1 1.2.......................................

More information

untitled

untitled 1907(40) 100 100 21 1 1 21 21 21 21 21 1891(M24) 1920(T9)1 2 1932(S7) 1947(S22) 1968(S43)12 2001(H13) 1955(S30) 1 24 9 7 22 43 13 2 100 6 200300t 1896M29 3876 1536 1 15 1907(M7) 11 6 1898(M31) 5 6 2 1912(M45)

More information

プログラミング及び演習 第1回 講義概容・実行制御

プログラミング及び演習 第1回 講義概容・実行制御 プログラミング及び演習 第 12 回大規模プログラミング (2017/07/15) 講義担当大学院情報学研究科知能システム学専攻教授森健策大学院情報学研究科知能システム科学専攻助教小田昌宏 本日の講義 演習の内容 大きなプログラムを作る 教科書第 12 章 make の解説 プログラミングプロジェクト どんどんと進めてください 講義 演習ホームページ http://www.newves.org/~mori/17programming

More information

untitled

untitled e A2p21128 A2p21128 () () () () DPE () DPE () DPE () () DPE () () () () () () () () () () () () () () () DPE () () () DPE - 2 - A2p21128-3 - A2p21128-4 - A2p21128-5 - A2p21128-6 - A2p21128-7 - A2p21128-8

More information

RX開発環境移行ガイド V850からRXへの移行(コンパイラ編)(CA850/CX→CC-RX)

RX開発環境移行ガイド V850からRXへの移行(コンパイラ編)(CA850/CX→CC-RX) RX 開発環境移行ガイド V850からRXへの移行 ( コンパイラ編 ) (CA850/CX CC-RX) 2017/04/20 R20UT2608JJ0101 ソフトウェア事業部ソフトウエア技術部ルネサスシステムデザイン株式会社 はじめに 本資料は V850 ファミリ用 C コンパイラ CA850 および CX のプロジェクトを RX ファミリ用 C コン パイラ CC-RX のプロジェクトへ移行する際の

More information

Microsoft PowerPoint - 14Chap17.ppt

Microsoft PowerPoint - 14Chap17.ppt 17.1 do-while 文 p.161 例 17.1.1 p.22 例 5.1.1 第 17 章その他の制御文 17.1 do-while 文 17.2 goto 文とラベル 17.3 break 文による繰返し制御 17.4 continue 文による繰返し制御 /* ex17_1_1.c */ do while (i < 10); 条件を満たさなくても 1 回は実行 i = 10; とすると違いがわかる

More information

() / (front end) (back end) (phase) (pass) 1 2

() / (front end) (back end) (phase) (pass) 1 2 1 () () lex http://www.cs.info.mie-u.ac.jp/~toshi/lectures/compiler/ 2018 4 1 () / (front end) (back end) (phase) (pass) 1 2 () () var left, right; fun int main() { left = 0; right = 10; return ((left

More information

RHEA key

RHEA key 2 P (k, )= k e k! 3 4 Probability 0.4 0.35 0.3 0.25 Poisson ( λ = 1) Poisson (λ = 3) Poisson ( λ = 10) Poisson (λ = 20) Poisson ( λ = 30) Gaussian (µ = 1, s = 1) Gaussian ( µ = 3, s = 3) Gaussian (µ =

More information

C B

C B C 095707B 2010 6 8 1 LEVE1 2 1.1 LEVEL 1.1................................................ 2 1.1.1 1................................................ 2 1.1.2 1.2..............................................

More information

- - http://168iroha.net 018 10 14 i 1 1 1.1.................................................... 1 1.................................................... 7.1................................................

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

8 / 0 1 i++ i 1 i-- i C !!! C 2

8 / 0 1 i++ i 1 i-- i C !!! C 2 C 2006 5 2 printf() 1 [1] 5 8 C 5 ( ) 6 (auto) (static) 7 (=) 1 8 / 0 1 i++ i 1 i-- i 1 2 2.1 C 4 5 3 13!!! C 2 2.2 C ( ) 4 1 HTML はじめ mkdir work 作業用ディレクトリーの作成 emacs hoge.c& エディターによりソースプログラム作成 gcc -o fuga

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) { double

More information

MSP430 CCSv5 を使い Flash Memory 内容と version 情報を確認する方法 ( テクニック編 ) Rev: PIC Trout 今回は 下記の2 件について説明します 1) CCSv5 を使用して MSP430 の Flash Memory 内容を

MSP430 CCSv5 を使い Flash Memory 内容と version 情報を確認する方法 ( テクニック編 ) Rev: PIC Trout 今回は 下記の2 件について説明します 1) CCSv5 を使用して MSP430 の Flash Memory 内容を MSP430 CCSv5 を使い Flash Memory 内容と version 情報を確認する方法 ( テクニック編 ) Rev:01 10.4.2013 PIC Trout 今回は 下記の2 件について説明します 1) CCSv5 を使用して MSP430 の Flash Memory 内容を確認する方法 JTAG アクセスができるデバイス ( セキュリティ Fuse 断ではできません ) に対して

More information

広報さがみはら第1242号

広報さがみはら第1242号 LINE UP 3 1 5 6 1 NO.1242 S A G A M I H A R A 1 1 1 16 16 1 6 1 6 1 6 1 1 1 1 1 11 1 1 1 1 1 1 6 1 6 1 1 1 1 1 1 1 1 11 1 1 16 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 16 1 16 1 6 1 1 1 1 1 1

More information

内容 1 はじめに 本ガイドの目的 本ガイドの対象者 対象製品 表記について リンカ設定ファイル例 ソースファイル例 名前の付け方 リンカオプションとリンカ設定ファ

内容 1 はじめに 本ガイドの目的 本ガイドの対象者 対象製品 表記について リンカ設定ファイル例 ソースファイル例 名前の付け方 リンカオプションとリンカ設定ファ ILINK ガイド 基礎編 IAR Embedded Workbench ILINK-2-j 1 内容 1 はじめに... 3 1.1 本ガイドの目的... 3 1.2 本ガイドの対象者... 3 1.3 対象製品... 3 2 表記について... 4 2.1 リンカ設定ファイル例... 4 2.2 ソースファイル例... 4 2.3 名前の付け方... 4 3 リンカオプションとリンカ設定ファイル...

More information

2008 DS T050049

2008 DS T050049 DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049

More information

CL X X PC 1 CL CL CL 1

CL X X PC 1 CL CL CL 1 データセクション Ver. 1.0 1 2 1 2 3 4 CL 2 1 1 5 1 2 3 4 5 X X PC 1 CL CL CL 1 2 3 CL 2 1 1 + 2 1 3 HP 1 1 1 1 HP 4 + 1 1 1 1 + HP HP 0 1 1 4 1 1 1 3 DP 1 1 DP 1 1 DP DP 2 1 1 +2 + 1 1 5 DP DP + 1 1 1 1 DP DP

More information

2009 T060050

2009 T060050 T060050 C++ Microsoft Visual C++ 2008 Express Edition DX C DX VC++ Debug exe 1 2 2009 T060050 1 1 2 1 2.1...................... 1 2.2....................... 2 3 3 3.1................... 3 3.2.....................

More information

(search: ) [1] ( ) 2 (linear search) (sequential search) 1

(search: ) [1] ( ) 2 (linear search) (sequential search) 1 2005 11 14 1 1.1 2 1.2 (search:) [1] () 2 (linear search) (sequential search) 1 2.1 2.1.1 List 2-1(p.37) 1 1 13 n

More information

Prog1_15th

Prog1_15th 2012 年 7 月 26 日 ( 木 ) 実施構造体と typedef typedef 宣言によって,struct 構造体タグ名という表記を再定義し, データ型名のように扱うことができる 構文は typedef struct 構造体タグ名 再定義名 ; となり, この場合の構造体変数の宣言は, 再定義名を用いて行うことができる なお, ここでは 構造体タグ名は省略可能である 構造体を指すポインタ

More information

2 P.S.P.T. P.S.P.T. wiki 26

2 P.S.P.T. P.S.P.T. wiki  26 P.S.P.T. C 2011 4 10 2 P.S.P.T. P.S.P.T. wiki p.s.p.t.since1982@gmail.com http://www23.atwiki.jp/pspt 26 3 2 1 C 8 1.1 C................................................ 8 1.1.1...........................................

More information

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

アセンブラ入門(CASL II) 第3版 CASLDV i COMET II COMET II CASL II COMET II 1 1 44 (1969 ) COMETCASL 6 (1994 ) COMETCASL 13 (2001 ) COMETCASL COMET IICASL II COMET IICASL II CASL II 2001 1 3 3 L A TEX 2 CASL II COMET II 6 6 7 Windows(Windows

More information