gcnasm icon indicating copy to clipboard operation
gcnasm copied to clipboard

Error handling

Open ukasz opened this issue 11 years ago • 0 comments

  • 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.

ukasz avatar Jul 08 '13 06:07 ukasz