"Grant Edwards"  wrote in message news:n59k40$e27$1...@reader1.panix.com...

On 2015-12-21, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote:
On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying"
<skybuck2...@hotmail.com> declaimed the following:

The original idea I posted is less about sending a signal to another
processor.

It is more about how to break out of an instruction sequence.

Example of problem:

Main:
while Condition1 do
begin
   while Condition2 do
   begin
       while Condition3 do
       begin
           Routine1
       end
   end;
end;

I do hope this is the result of over simplification for the example, as
otherwise I'd turn it into

while C1 and  C2 and C3:
R1


"
Not that this means that all rest of what Skyhawk posted makes any
sense at all.  I've spent a lot of time programming on "bare metal",
in assembly, Pascal, PL/M, and C (including using coroutines and
various other "multi-thread" constructs with no OS support), and I
really don't see the utility of his initial suggestion.
"

Great that means you will understand the example below:

mov eax, 0
add eax, 10
mul eax, 4

There is an instruction sequence for you.

This instruction sequence is too long believe it or not.

The mission is to make the CPU break out of instruction 2 and execute something else.

How would you do it ?

Bye,
Skybuck.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to