The first question as stated in the title, belong to the entry-level problem; Then because I was asked to do things is the assembly instructions such as MOVAI AR1, 0 xff5 type Memo1, through for the converted to the corresponding 32-bit binary code and eight hexadecimal code display in Memo2 and Memo3 respectively, among which involves function is constructed to split the string Memo1 respectively (and comma separated by Spaces), calculate each line instruction is composed of several split after the substring (array), computing Memo1 entered in the command line number and in Memo2 and Memo3 as a line, according to the standard and binary to hexadecimal conversion, I know I stated above problem more abstract, but reasonable because I didn't write the code, so bad also put his dejected code up to you, beg you can repeatedly to make a can run a simple example of application to me, so I as a beginner can also compare systematically learn from everyone's experience, thank you! Points is not much, I still hope everyone is burke...
CodePudding user response:
Can do a simple assemblerCodePudding user response: