gcnasm
gcnasm copied to clipboard
Error handling
- if (ssrc0_op.op_type.type == VGPR)
- ERROR("incorrect value for SSRC0 operand");
We need better way of handling errors and warnings in asm - a way that will tell the programmer what went wrong and where exactly (line number:line of code). Implementation of it should be separated from handling problems with gcnasm. Also we should group errors and warnings into types and store them in a separate file otherwise it will be mess when programmer will see slightly different messages for the same error but printed in a different way.