Skip to content

Instantly share code, notes, and snippets.

View dunst0's full-sized avatar
🕵️‍♂️
Beeing clever

Rick Barenthin dunst0

🕵️‍♂️
Beeing clever
View GitHub Profile
@dunst0
dunst0 / app.js
Last active December 12, 2015 08:59
/**
* Module dependencies.
*/
var express = require('express')
, http = require('http')
, path = require('path')
, fs = require('fs')
, redis = require('redis');
@dunst0
dunst0 / memberCall
Last active December 11, 2015 06:19
/**
* Defines how to process a GenFor-Statement.
*
* @param stmtGenFor GenFor-Statement that should be processed
* @throws Exception in case of procession error
*/
@Override
public void processStatement(StmtGenFor stmtGenFor) throws Exception {
final String F = String.format(INTERN_VARIABLE_FORMAT, "f");
final String S = String.format(INTERN_VARIABLE_FORMAT, "s");
SET PC, main ; jump direkt to main function
;; Converts a hex number to a dec number.
;;
;; @param A hex number
;; @return A dec number
;; @pre A <= 0x270F
:hex2dec
SET PUSH, I ; Prolog
SET PUSH, X ; |