Funny example of Assembler syntax in ES6

It’s joke, but it show power of tagged template strings

mov   `ax` `2`
mov `dx` `3`
add `ax` `dx`
print `ax`
////
var mem = {};
function mov(s1) { return s2 => mem[s1[0]] = s2[0] }
function add(s1) { return s2 => mem[s1[0]] + mem[s2[0]] }
function print(s1) { console.log(mem[s1[0]]) }