You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The assembler will accept a floating number as a case in the lookupswitch instruction.
The specification defines the following format for a switchCase:
switchCase := case number : label
switchCase := default : label
Number here can be viewed broadly, since it also accepts floating point numbers. This however does not make any sense since the argument of lookupswitch needs to be an int according to the spec.
For example, a code snippet that works but should not is:
The assembler will accept a floating number as a case in the lookupswitch instruction.
The specification defines the following format for a
switchCase
:Number here can be viewed broadly, since it also accepts floating point numbers. This however does not make any sense since the argument of lookupswitch needs to be an int according to the spec.
For example, a code snippet that works but should not is:
The text was updated successfully, but these errors were encountered: