V
V
Vol4ok12016-12-27 13:29:28
Java
Vol4ok1, 2016-12-27 13:29:28

How to translate assembler to C++ or Java?

The program itself is in the assembler language

prNov storage 5; 
prStar storage 2;  
krNov storage 3;  3 
krStar storage 2; 2 
generate 5,3,,150; 
transfer .4,met2,met1;
met1 priority 1;  
queue och; 
transfer ,met3;  
met2 queue och;     
met3 gate snf prNov,met4;
enter prNov;    
depart och;    
advance 1;     
enter krNov;    
advance 20,5;   
leave krNov;    
advance 1;     
leave prNov;    
transfer ,out;   
met4 gate snf prStar;  
enter prStar;    
depart och;     
advance 1;     
enter krStar;    
advance 40,10;   
leave krStar;    
advance 1;     
leave prStar; 
out terminate 1; 
start 150;

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question