Calculator Community > ASM

Linking Asm Subroutine

(1/3) > >>

ACagliano:
Can someone please write me a subroutine in assembly that will send to another calc, without the other being in receive mode. The variable to be sent should be written into Ans at the sending calc. So for instance:

"L1
subroutine

would send the variable L1 to the other calc and store it as L1. I hope this is possible and quick to do. Thanks all.

Quigibo:
Its going to be very slow if you have to send a list of floating points.  Can we make the assumption that each element in the list is 1 byte (an integer between 0 and 255) because then it could be lightning fast.

And there is no such thing as sending when not in receive mode.  One of the calculators must wait.  Either the sender waits until the receiver confirms it got the message, or the receiver has to wait until it get a message from the sender.  However, there is a way to make neither of them wait, but then you can't guarantee that the message will actually received.

DJ Omnimaga:
I think Omnicalc( send/receive commands actually sends 1 byte unsigned integers, right?

But Omnicalc usage == no xLIB/Celtic possible :(

ACagliano:
Yes. we can assume one byte for each term in the list. I will confine the variables to not larger that 255. And, yes. Let neither of them wait. I'll deal with making sure that there is an opponent.

ACagliano:
Any luck with this so far?

Navigation

[0] Message Index

[#] Next page

Go to full version