2007-01-04から1日間の記事一覧

64bit変数はどうやってメモリに格納される?

当り前のことですが、後輩に質問されたのでメモメモ。 unsigned intの場合 # define UINT_MAX 4294967295U int main(void){ unsigned int i = UINT_MAX; } main: pushl %ebp movl %esp, %ebp subl $8, %esp andl $-16, %esp movl $0, %eax subl %eax, %esp m…

言語オタク

http://d.hatena.ne.jp/odz/20070103/1167883754 どうせなので、自分の知っているプログラミング言語を並べてみる。 * C * C++ * Java * Z80の機械語(ハンドアセンブル。でもほとんど忘れた) * Perl * Ruby * Python * PHP * Emacs Lisp * Groovy * Pnuts * …