This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDES = src src_api src_sys src_usb | |
CC = h8300-elf-gcc -msx -mint32 -std=gnu99 -c $(addprefix -I, $(INCLUDES)) | |
AS = h8300-elf-gcc -msx -mint32 -Xassembler $(addprefix -I, $(INCLUDES)) | |
LINK = h8300-elf-gcc -msx -mint32 -nostartfiles -nodefaultlibs | |
CFLAGS = -O0 -g3 | |
ASFLAGS = -g3 | |
LINKFLAGS = -g3 | |
OBJCOPY = h8300-elf-objcopy | |
OUTDIR = Objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ADC_Get_Data | |
_ActBulkIn | |
_ActBulkOut | |
_ActBusVcc | |
_ActControl | |
_ActControlInOut | |
_ActSerialOut | |
_BulkInFlag | |
_BulkOutEnableFlag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDES = src src_api src_sys src_usb | |
AS = h8300-elf-as | |
CC = h8300-elf-gcc -msx -mint32 -c $(addprefix -I../, $(INCLUDES)) | |
LINK = h8300-elf-gcc -msx -mint32 -nostartfiles -nodefaultlibs | |
ASFLAGS = -g3 | |
CFLAGS = -O0 -g3 -Wall | |
LINKFLAGS = -g3 | |
OBJCOPY = h8300-elf-objcopy | |
LIBS = -lc -lm -lgcc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.h8300sx | |
.section .text | |
.global _switch_without_restore | |
.global _switch_with_restore | |
; void switch_without_restore(char *cur_sp, char *next_sp, function entry); | |
_switch_without_restore: | |
mov.l er6,@-er7 | |
mov.l er7,er6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int is_last_token(char ch, char *str) { | |
while((*str != ch)&&(*str != '\0')) ++str; | |
if(*str == '\0') return 1; | |
while(*str == ch) ++str; | |
if(*str == '\0') return 1; | |
else return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
略語アンケート 該当する数字を答えてください | |
1.使用する 2.意味は分かるが、使用しない 3.使用しない | |
たこパ(たこ焼きパーティー) | |
ネトゲ(インターネットゲーム) | |
ファミマ(ファミリーマート) | |
バッシュ(バスケットシューズ) | |
テレカ(テレホンカード) | |
コピペ(コピー&ペースト) | |
とりま(とりあえず、まあ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.lang.*; | |
import java.util.*; | |
import java.util.concurrent.atomic.*; | |
enum DataType { | |
// primitive | |
BOOLEAN(true), | |
CHARACTER(true), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
typedef struct _list { | |
int d; | |
struct _list *next; | |
} list; | |
typedef int(*func)(list*, int); | |
list* new_list() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
my @sources = split(/\t/, `curl -s http://www.open.coins.tsukuba.ac.jp/status/coins/ | sed '32!d'`); | |
@sources = grep(/(cosmos|burnet|acacia)\d\d.*OK/, @sources); | |
for(my $i = 0; $i < $#sources+1; $i++) { | |
$sources[$i] =~ /(cosmos|burnet|acacia)(\d\d)/; | |
$sources[$i] = "$1$2.coins.tsukuba.ac.jp"; | |
} | |
print "Content-type: text/html\n\n"; | |
print $sources[rand($#sources)]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test.l:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘yylloc’ |
OlderNewer