データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

ST20-C1 データシート(PDF) 142 Page - STMicroelectronics

部品番号 ST20-C1
部品情報  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 データシート(HTML) 142 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 138Page - STMicroelectronics ST20-C1 Datasheet HTML 139Page - STMicroelectronics ST20-C1 Datasheet HTML 140Page - STMicroelectronics ST20-C1 Datasheet HTML 141Page - STMicroelectronics ST20-C1 Datasheet HTML 142Page - STMicroelectronics ST20-C1 Datasheet HTML 143Page - STMicroelectronics ST20-C1 Datasheet HTML 144Page - STMicroelectronics ST20-C1 Datasheet HTML 145Page - STMicroelectronics ST20-C1 Datasheet HTML 146Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 142 / 205 page
background image
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
.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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