hi @dr-orlovsky, I have some questions on I/O operations
https://github.com/pandoracore/alure/blob/3a98a1f85699409333040f0c93775e96e8d3eb00/src/isa.rs#L12
I could not find docs on AluReOp and I am assuming like this: Read and Store is for input, and Check and Load is for output. So read on assembly would be split into 2 operations, which are Read and Store. thus
read a16[2], $cycle_limit
would be converted to
Read(<some u16 value representing internal ID for $cycle_limit>)
StoreA(RegA::A16, Reg16::Reg2, u8)
In this scenario, however, I am not sure what is 3rd argument u8 for. Could you tell me brief explanations on these ops?
https://github.com/pandoracore/alure/blob/3a98a1f85699409333040f0c93775e96e8d3eb00/src/isa.rs#L20
Unlike RegA, RegR and RegF, RegS is internally u4 which stands for register index. So specifying index in 2nd argument Reg16 would not make sense.
hi @dr-orlovsky, I have some questions on I/O operations
https://github.com/pandoracore/alure/blob/3a98a1f85699409333040f0c93775e96e8d3eb00/src/isa.rs#L12
I could not find docs on
AluReOpand I am assuming like this:ReadandStoreis for input, andCheckandLoadis for output. Soreadon assembly would be split into 2 operations, which areReadandStore. thuswould be converted to
In this scenario, however, I am not sure what is 3rd argument
u8for. Could you tell me brief explanations on these ops?https://github.com/pandoracore/alure/blob/3a98a1f85699409333040f0c93775e96e8d3eb00/src/isa.rs#L20
Unlike
RegA,RegRandRegF,RegSis internallyu4which stands for register index. So specifying index in 2nd argumentReg16would not make sense.