Jump to content

Talk:Program status word

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Chatul (talk | contribs) at 07:57, 28 December 2020 (PSW layouts). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Stub‑class
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by Computer hardware task force.

Program status word register

program status word register 69.113.57.33 22:26, 11 September 2007 (UTC)[reply]

Length of PSW

The statement The program status word (PSW) is, typically, 32 bits in length. may be true for 16-bit processors but it is incorrect for 32-bit and 64-bit processors. For those 64 bits and 128 bits are more common. Shmuel (Seymour J.) Metz Username:Chatul (talk) 15:46, 16 November 2010 (UTC)[reply]

The page was changed from a page to talk about PSWs in ISAs including non-S/3x0 ISA to a redirect to status register in this edit, which I guess was a merge into status register, and then turned into a page talking only about S/3x0 PSWs in this edit, so the offending text is no longer present. Guy Harris (talk) 03:04, 28 December 2020 (UTC)[reply]

PSW layouts

@Guy Harris and Tom94022:I've copied the PSW tables from IBM System/370 and added the standard S/360 and 360/67 formats. The way those are laid out looks OK for 64-bit registers but would be too crowded for 128. I've used a different format for z/Architecture, and have a prototype at User:Chatul/sandbox/PSW; it needs some tweaking to separate words more clearly. Once that's ready to include in the PSW article, should I change the existing tables to the same style? Shmuel (Seymour J.) Metz Username:Chatul (talk) 00:52, 28 December 2020 (UTC)[reply]

"...should I change the existing tables to the same style?" I'd vote yes; it makes it a bit easier to determine the bit numbers of the bit fields in the PSW. (And change them in IBM System/370 as well. z/Architecture should perhaps be expanded as well, with its own table, similar to the one in IBM System/370.) Guy Harris (talk) 06:51, 28 December 2020 (UTC)[reply]
In IBM System/370 there is the issue of consistency with the other register layouts. Or do you think that those should be changed as well? Shmuel (Seymour J.) Metz Username:Chatul (talk) 07:57, 28 December 2020 (UTC)[reply]