Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void stringToInstruction(String text)
- {
- String[] result = text.split("\\s");
- if(result[0].startsWith("."))
- {
- inst[count++].comment = Arrays.toString(result);
- }
- else
- {
- switch(result.length)
- {
- case 2:
- break;
- case 3:
- break;
- case 4:
- break;
- case 5:
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement