Assembly Language - Combining Characters with XOR

时间:2015-05-12 22:22:00

标签: assembly masm xor irvine32

I am writing a program in which the requirements are as follows:

Has a string variable called Name that is set to your full name, including spaces.
Clears the AL register only, NOT the rest of the EAX register.
Loops through each character in the Name variable.
Combines each character using the XOR command.
Stores the final XOR result in the AL register.
Includes a DumpRegs command at the end of the program.

I've been trying to get this correct and have been trying to use examples in the book, however, I just keep getting errors. Here is what I have:

var legend = d3.select(".c3-legend-background");
console.log("style[width]: " + legend.style("width")); // style[width]: auto
console.log("attr[x]: " + legend.attr("x")); // attr[x]: null
console.log("attr[y]: " + legend.attr("y")); // attr[y]: null

And I am getting the errors: enter image description here

1 个答案:

答案 0 :(得分:6)

Enter seat number: Enter seat number: 5 Enter customer name: charles Unhandled Exception: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)..... is a reserved symbol - change it to something else, e.g. name.