Skip to content

Instantly share code, notes, and snippets.

You kids these days have it great. You play with your Ruby or Python and just make objects and variables without any care for where they live. You don't care if it's on the "stack", and the heap? Fuggedaboutit. You don't even know, and you know what, chances are your language of choice doesn't even put the variables on stack at all. It's all heap, and you don't even know if it is.

A quote from Learn C the hard way

#The TOY Machine Language

The TOY language is an experimental ( educational ) assembly language target for TOY achitecture, and is a part of our final project C14-Assembler. Primary contributors to this project include: Andy , Tony and Borris.

##Directive

  • .DATA
  • .TEXT

Case-insensitive

; This is a sample TOY assembly language program
.DATA
foo 100
bar 200
.CODE
mov R1, 1 ; Initialize

#The TOY Assembly Language

The TOY language is an experimental ( educational ) assembly language target for TOY achitecture, and is a part of our final project C14-Assembler. Primary contributors to this project include: Andy , Tony and Borris.

##Directive

  • .DATA
  • .TEXT

Case-insensitive

#台大合唱團冬季公演

##《覓秘-尋古典敘浪漫》 我們將延續 2014 年冬季公演《循尋》的合唱史脈絡,再次邀請車炎江老師擔任導聆人,從莫札特、海頓到羅西尼與布拉姆斯,演唱古典時期及浪漫時期的合唱經典曲目。下半場則為音樂劇《屋上提琴手》組曲,包含Tradition、If I Were a Rich Man、Sunrise, Sunset等著名曲目;另外,也將演唱中文經典歌曲與西洋流行老歌。

##票價優惠

  • 票價:400/600/800/1200
  • 除了1200是贊助票不打折,其它購票享九折優惠
  • 高中團體合購10張以上享八折優惠(無法與九折優惠合併)
" Vim color file
" Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif

#The theme

Lettuce

Monokai

#Screenshot 1 ( load incorrectly )

monokai off , lettuce on

; What does "BP.DEVNUM" mean?
DPBLOCK STRUC
DEVNUM DB ? ;I/O driver number
DPBLOCK ENDS
MOV AH,[BP.DEVNUM]
;-------------------
; We see this pattern many times :
; SegmentRegister : [ PointerRegister.NAME ]
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using namespace std;
const int MaxCharacterHash = 20;
int searchMinimalPerfectHash(int i, vector<string>& fwords, vector<string>& hash, vector<bool>& visited, vector<int>& values );
vector<string> words = {
"auto",

台大合唱團網站提案

請看目前網站的樣子:ntuchorus.github.io

現況

  • 我們有一個粉絲專頁,上面可以放宣傳文宣(招生、公演倒數照、活動)
  • 我們有 youtube 頁面
  • 我們曾經有一個網站,域名好像就叫 ntuchorus.org ,後來可能因為名字租約到期,或是網站沒有人能管理,就掰了。(個人臆測)