1/10/2018 2:26 PM | |
Joined: 12/6/2015 Last visit: 6/10/2023 Posts: 32 Rating: (0) |
Hello friends, I have a question. Is there an easy way to allocate the booleans from a DB into the bits of a word which belongs to a DB (array of words)? I mean, I have the boolean for example db1.dbx0.0, and therefore when this bit is 1 the bit relative to for example "DB10".TEST[0].%X0 automatically be set to 1 and so on for db1.dbx0.1, db1.dbx0.2....I am looking foward a way considering a boolean db of 1000 bits to be allocated in the bits of the respective words. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 1/19/2018 2:07:21 PMNew subject after splitting |
|
9/18/2018 7:04 PM | |
Joined: 4/3/2017 Last visit: 3/18/2024 Posts: 4 Rating: (1) |
Have you checked the instructions scatter and gather? |