start new:
tmux
start new with session name:
tmux new -s myname
.model small | |
.stack 100h | |
.data | |
str1 db 'Ones :$' | |
str2 db ' zero :$' | |
ones db '0' | |
zeros db '0' | |
.code | |
main proc |
.model small | |
.stack 100h | |
.data | |
countOne db ? | |
countZero db ? | |
nln db 0ah,0dh,'$' | |
msg1 db 'Number of Ones: $' | |
msg2 db 0ah,0dh,'Number of Twos: $' | |
.code | |
main proc |
// Update: Hey Folks - I've got a full Gulpfile with everything else over at https://github.com/wesbos/React-For-Beginners-Starter-Files | |
var source = require('vinyl-source-stream'); | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var browserify = require('browserify'); | |
var reactify = require('reactify'); | |
var babelify = require('babelify'); | |
var watchify = require('watchify'); | |
var notify = require('gulp-notify'); |
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
printstring macro msg | |
mov ah, 09h | |
mov dx, offset msg | |
int 21h | |
endm | |
readnum macro num | |
readnum macro num | |
push ax | |
push dx ;pushing ax,dx in stack to keep the previous values | |
;protected | |
mov ah, 01h ;read character function | |
int 21h ;execute the function | |