Funny, the microcode assembler for my toy-cpu which is written in newbie-haskell is called the same thing. https://github.com/hansihe/ttl_cpu/blob/master/haskell/McAsm...
This is an example of the syntax it has. https://github.com/hansihe/ttl_cpu/blob/master/microcode/mic...
It, along with the assembler is configured through a yaml file. https://github.com/hansihe/ttl_cpu/blob/master/microcode/map...
If anyone is interested, there is an unfinished article about the project located here. http://hansihe.com/2016/11/25/i-built-a-computer-from-scratc...