decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Memory register vs a register? | 661 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Memory register vs a register?
Authored by: Anonymous on Friday, March 29 2013 @ 09:40 AM EDT
BCD? Seriously? What system works with BCD (besides some older
mainframes that might work with BCD via COBOL)? No modern
microcomputer does that. You'd need a software library to deal
with such number encoding - and I'm quite sure nothing in the
Linux kernel does so.
You might, as part of input/output convert from/to characters
(ASCII/ANSI, UNICODE, EBCDIC, etc.), but that has nothing to
do with floating point rounding at all.

[ Reply to This | Parent | # ]

Memory register vs a register?
Authored by: Anonymous on Friday, March 29 2013 @ 09:43 AM EDT
Forgot to mention....
BCD is BINARY coded decimal. So changing it to BINARY might
just be a NOP or at the very least is purely a format change.
Also, as best I can remember, BCD is integer (or fixed point),
not floating point.

[ Reply to This | Parent | # ]

Memory register vs a register?
Authored by: JamesK on Friday, March 29 2013 @ 01:08 PM EDT
In my experience, "registers" hold binary data. It is how that data
is implemented that determines whether it's BCD, ASCII or whatever. I have only
worked on one system, that Teleregister at the Toronto Stock Exchange that I
mentioned in another thread, where data was stored in BCD excess 6, which is BCD
with 6 added to it, to make some of the logic simpler. Beyond that, registers
hold binary data and only binary data. How that binary data is interpreted is
up to the programmer.

BTW, in my experience,"registers" are a temporary scratch pad area,
used in the various calculations etc. and separate from the main memory. There
are, however, some systems (TI 9900?) where specific memory locations are
reserved for use as a "register". The Data General computers also
contained a block of auto increment and decrement memory locations, where if you
made an indirect access through them, the contents would be incremented (or
decremented), readying them to point to the next memory access.


---
The following program contains immature subject matter.
Viewer discretion is advised.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )