Re: (Execution) Termination bit, Alternation bit.

2016-01-08 Thread Skybuck Flying
Should be easy to turn that somewhat pseudo code into python code ! :) If it is so easy, why won't you do it? Not sure why, I use SikuliX and it's kinda buggy and slow, and I also had little time, it's also pretty trivial and I doubt you guys will have a solution that will actually work, so i

Re: (Execution) Termination bit, Alternation bit.

2016-01-03 Thread Steven D'Aprano
On Sun, 3 Jan 2016 12:18 pm, Skybuck Flying wrote: > Should be easy to turn that somewhat pseudo code into python code ! :) If it is so easy, why won't you do it? -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: (Execution) Termination bit, Alternation bit.

2016-01-02 Thread Skybuck Flying
"Chris Angelico" wrote in message news:mailman.64.1451433611.11925.python-l...@python.org... On Wed, Dec 30, 2015 at 8:43 AM, Skybuck Flying wrote: Not at all, these assembler statements can be replaced with python statements and then you have the exact same problem ! ;) " Then do so. G

Re: (Execution) Termination bit, Alternation bit.

2015-12-30 Thread Steven D'Aprano
On Wed, 30 Dec 2015 03:07 pm, Rustom Mody wrote: > By some coincidence was just reading: > from http://www.wordyard.com/2006/10/18/dijkstra-humble/ > > which has the following curious extract. > [Yeah its outlandish] > > -- > I consider the absolute wo

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Rustom Mody
On Saturday, December 19, 2015 at 11:26:55 PM UTC+5:30, Skybuck Flying wrote: > Hello, > > I'd like to see instruction execution enhanced with the following two ideas: > > 1. A termination bit, and a terminator pointer. > 2. A alternation bit, and a alternate pointer. > > The purpose of these bi

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Chris Angelico
On Wed, Dec 30, 2015 at 8:43 AM, Skybuck Flying wrote: > Not at all, these assembler statements can be replaced with python > statements and then you have the exact same problem ! ;) Then do so. Give us an example where this problem occurs in pure Python. ChrisA -- https://mail.python.org/mailm

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Skybuck Flying
"Steven D'Aprano" wrote in message news:5682892c$0$1587$c3e8da3$54964...@news.astraweb.com... On Tue, 29 Dec 2015 10:25 pm, Skybuck Flying wrote: 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. " Skybu

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Steven D'Aprano
On Tue, 29 Dec 2015 10:25 pm, Skybuck Flying wrote: > 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. Skybuck, this is completely off-topic for a Python forum like this. -- Steven -- https://

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Skybuck Flying
"Grant Edwards" wrote in message news:n59k40$e27$1...@reader1.panix.com... On 2015-12-21, Dennis Lee Bieber wrote: On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying" declaimed the following: The original idea I posted is less about sending a signal to another processor. It is more abou

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Skybuck Flying
"Grant Edwards" wrote in message news:n59k40$e27$1...@reader1.panix.com... On 2015-12-21, Dennis Lee Bieber wrote: On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying" declaimed the following: The original idea I posted is less about sending a signal to another processor. It is more abou

Re: (Execution) Termination bit, Alternation bit.

2015-12-29 Thread Skybuck Flying
"Chris Angelico" wrote in message news:mailman.62.1450799815.2237.python-l...@python.org... On Wed, Dec 23, 2015 at 2:46 AM, Skybuck Flying wrote: One idea which immediatly comes to mind to fix this problem is to offer a "PushTerminationFlag" onto stack and then a "ClearTerminationFlag" i

Re: (Execution) Termination bit, Alternation bit.

2015-12-22 Thread Chris Angelico
On Wed, Dec 23, 2015 at 2:46 AM, Skybuck Flying wrote: > One idea which immediatly comes to mind to fix this problem is to offer a > "PushTerminationFlag" onto stack and then a "ClearTerminationFlag" > instruction. > > Then a code section can be executed without breaking or terminating. > > Once t

Re: (Execution) Termination bit, Alternation bit.

2015-12-22 Thread Skybuck Flying
"Richard Damon" wrote in message news:QXSdy.6634$qg6.5...@fx31.iad... On 12/21/15 7:40 AM, Skybuck Flying wrote: 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: [snip] Bye,

Re: (Execution) Termination bit, Alternation bit.

2015-12-21 Thread Grant Edwards
On 2015-12-21, Dennis Lee Bieber wrote: > On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying" > 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 proble

Re: (Execution) Termination bit, Alternation bit.

2015-12-21 Thread Skybuck Flying
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 e

Re: (Execution) Termination bit, Alternation bit.

2015-12-20 Thread eryk sun
On Sun, Dec 20, 2015 at 10:21 AM, Dennis Lee Bieber wrote: > On Sun, 20 Dec 2015 12:25:30 +0100, "Skybuck Flying" > declaimed the following: >> >>This does make me wonder how Windows 7 terminates threads/processes/hanging >>applications. >> >>Apperently there is some kind of mechanism for this. >

Re: (Execution) Termination bit, Alternation bit.

2015-12-20 Thread Skybuck Flying
"Richard Damon" wrote in message news:QHody.3724$bz5.3...@fx04.iad... On 12/19/15 9:03 PM, Skybuck Flying wrote: It could be usefull if the instruction pointer/return address that was pushed onto the stack when the interrupt handler was called can be modified by the interrupt handler so that

Re: (Execution) Termination bit, Alternation bit.

2015-12-19 Thread Chris Angelico
On Sun, Dec 20, 2015 at 1:27 PM, Dennis Lee Bieber wrote: > On Sat, 19 Dec 2015 18:56:17 +0100, "Skybuck Flying" > declaimed the following: > >>Hello, >> >>I'd like to see instruction execution enhanced with the following two ideas: >> >>1. A termination bit, and a terminator pointer. >>2. A alte

(Execution) Termination bit, Alternation bit.

2015-12-19 Thread Skybuck Flying
Hello, I'd like to see instruction execution enhanced with the following two ideas: 1. A termination bit, and a terminator pointer. 2. A alternation bit, and a alternate pointer. The purpose of these bits is as follows: Before a processor/core executes an instruction both bits are examined. 1