Hi, I am learning to write a assembly language parser. The assembly format is like: MOV R1, 0 //R1 = 0 ADD R2, R3, R4 // R2 = R3 + R3
The question is, how to define the comma (,) between registers? Shall I define it as token or literals or something else? Any suggestion are welcome:) Best regards, Davy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ply-hack" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ply-hack?hl=en -~----------~----~----~----~------~----~------~--~---
