2010年1月26日 星期二

即然不想做事,就來寫點東西好了,主要是今天看到的:

1、Big-Endian V.S. Little-Endian
Danny Cohen 是 ADOBE 的兩位創始者之一,PostScript是他們發明的。
這篇是寫電腦科學中有名的問題,此君以幽默的語氣完整的介紹了此問題,
十分有趣,值得一讀。

2、

2010年1月20日 星期三

TODO:

1' find out <- this is llvm translation database
2' find out the translator engine <- llvm-op.h is the engine
3' add translator engine into llvm_gen_code
4' in the slide, you should mention the architecture of the framework, and
indicate which is done.
5' show the target instructions and say that you are going to build the translation function in the next week

2010年1月18日 星期一

QEMU programming notes

profiler => can we ignore it?

inhibit irq => true if hardware interrupts must be disabled for the next instruction

TF cpu flag => 8th bit of flags in x86, trap flag, system flag

jmp_opt in DisasContext => indicate whether to do block linking

what is GRP1? in
what is modrm?

Q: what are my target instructions?
test program is in ~/research/qemu/src/branches/llvm-qemu/tests/
add-i386.c
tmp.c

stay in disas_insn() in target-i386/translate.c
line 4122

I need a C programming language book

1' create a new fucking useless function!

mov
0x89 source is register, destination could be register
or memory location related to a register