Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integer memory storage
#4
Array of bits. I gather an array of 2-byte integers could be the same way, as long as the size is a multiple of 32. I don't know if code things still depend on a single data item being dropped directly into a CPU register. It should be, if not then why Freebasic's developers redefined ```INTEGER``` keyword as 64-bit integer? (shrugs)

I have learned that when declaring UDT's in a 16-bit system, things run "more efficiently" if the total byte size were a multiple of eight. So it had me declaring something like this as final element:

Code: (Select All)
FILLER AS STRING * 77

I don't know but today that looks foolish to me. Blush
Reply


Messages In This Thread
Integer memory storage - by bobalooie - 11-11-2023, 11:12 PM
RE: Integer memory storage - by bplus - 11-11-2023, 11:45 PM
RE: Integer memory storage - by SMcNeill - 11-12-2023, 12:49 AM
RE: Integer memory storage - by bobalooie - 11-12-2023, 01:29 AM
RE: Integer memory storage - by mnrvovrfc - 11-12-2023, 01:05 AM
RE: Integer memory storage - by SMcNeill - 11-12-2023, 01:19 AM
RE: Integer memory storage - by DSMan195276 - 11-13-2023, 05:05 AM
RE: Integer memory storage - by bobalooie - 11-14-2023, 04:13 PM
RE: Integer memory storage - by DSMan195276 - 11-14-2023, 09:04 PM



Users browsing this thread: 2 Guest(s)