(16C) WSIZE? Determine word size
|
03-30-2019, 09:27 PM
Post: #1
|
|||
|
|||
(16C) WSIZE? Determine word size
The 16C can set the word size from 1 to 64 bits but has no way to retrieve the value of that setting. So everyone ends up shifting a 1 leftward across a word until the carry is set. Here is a simple routine that only affects the X register, to which is returned the current word size.
Code:
Remember kids, "In a democracy, you get the government you deserve." |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(16C) WSIZE? Determine word size - mfleming - 03-30-2019 09:27 PM
RE: (16C) WSIZE? Determine word size - mfleming - 03-31-2019, 01:45 AM
RE: (16C) WSIZE? Determine word size - cdmackay - 03-31-2019, 02:36 PM
|
User(s) browsing this thread: 1 Guest(s)