equal
deleted
inserted
replaced
76 |
76 |
77 if(!(function instanceof Attack || function instanceof Help)){ |
77 if(!(function instanceof Attack || function instanceof Help)){ |
78 throw new ICFPCException(); |
78 throw new ICFPCException(); |
79 } |
79 } |
80 |
80 |
|
81 //TODO Абстрагироваться от регистров |
|
82 |
81 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new Put(), processingSlot)); |
83 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new Put(), processingSlot)); |
82 retArray.add(new Batch(OperationType.SLOT_TO_CARD, function, processingSlot)); |
84 retArray.add(new Batch(OperationType.SLOT_TO_CARD, function, processingSlot)); |
83 |
85 |
84 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new K(), processingSlot)); |
86 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new K(), processingSlot)); |
85 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new S(), processingSlot)); |
87 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new S(), processingSlot)); |