Hi Dudes!
"Aint no party like a Run Chump party, cause a Run Chump party doesn't stop." For REALZ.
Oh man, where to start? I had such a crazy Chumptastic weekend...it was just sick. Actually I was just sick. Sick as in "ill" not "phat".
I ran 9 on Saturday and 10 miles on Sunday. It felt pretty good. It would have been a lot better if Besser hadn't run (ran / run?) with me. Better - Besser...get it? No? Yur dumb.
Guess what? CHUMP is not only my second given name, it is also a computer language. I know, right.
Below are descriptions of a STUMP (little 16 bit RISC) written in CHUMP.
(isa "STUMP16" ; STUMP is a simple 16bit processor (C) Andrew Bardsley
; Use this description to learn chump
; This is not a good tutorial but you can get the basics
; Firstly the basics:
; The following is the correct syntax to describe a translation
; (("Disasambled descrption")(Assambled description))
; disassamled description is simply a string or set of strings
; Assembled description is a set of bits I (always on),O (always off),
; X (dontcare but set as on),Z (dontcare but set as off)
; Be careful, I and O are LETTERS. The parser will complain if it doesnt understand.
; e.g. 1 : (("R3")(OII)) - matches 011 to "R3"
; and "R3" to 011
; e.g. 2 : (("BR")(OZX)) - matches 000, 001, 010 or 011 to "BR"
; and "BR" to 001
; e.g. 3 : (("PC")(III))
Is there a language called "Chris"? Yeah, I didn't think so. I win.
No comments:
Post a Comment