qick.parser

Function to parse tProc assembly language programs.

Functions

parse_prog([file, outfmt])

Parses the .asm assembly language tProc program into a specified output format (binary or hex)

qick.parser.parse_prog(file='prog.asm', outfmt='bin')[source]

Parses the .asm assembly language tProc program into a specified output format (binary or hex)

Parameters
  • file (str) – ASM program file name

  • outfmt (str) – Output format (“bin” or “hex”)

Returns

Program in the new output format

Return type

bin or hex