| Motore di ricerca datesheet componenti elettronici |
|
ST20-C1 Scheda tecnica(PDF) 142 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-C1 Scheda tecnica(HTML) 142 Page - STMicroelectronics |
|
142 / 205 page ![]() 142/205 ® signal signal Code: 23 F5 Description: Perform the first par t of a semaphore signal (or V) on the semaphore pointed to by Areg. If no process is waiting then the unsigned count is incremented. If processes are waiting then the first process is removed from the queue and its identifier placed in Breg ready to be run. The instruction returns a boolean value in Areg stating whether a run process is required. This instruction should be used in the following sequence: ld semptr; signal; cj continue; run; continue: Definition: if (frontptr = NotProcess) -- queue empty { word ′[Areg @ s.Count] ← word[Areg @ s.Count] + 1 Areg ′← false Breg ′← undefined } else -- queue not empty { if (frontptr = backptr) -- one process on queue word ′[Areg @ s.Front] ← NotProcess else -- many processes on queue word ′[Areg @ s.Front] ← word[ frontptr @ pw.Link ] Areg ′← true Breg ′← frontptr } Creg ′← undefined where frontptr = word[Areg @ s.Front] backptr = word[Areg @ s.Back] Status Register: No effect Comments: Secondar y instruction. The increment of the count is unchecked. This instruction may require 4 accesses to memory. The semaphore structure should be placed in on-chip memory if interrupt latency is critical. See also: run wait Chapter 7 . |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |