First Spear Posted November 16, 2019 Share Posted November 16, 2019 I am having a brain freeze here. I need to zero-out (replace with $0000) some GRAM blocks that were previously defined. What is the most efficient way to do that? Sometimes it's 3-5, sometimes it is GRAM 60-63, etc. Arbitrary GRAM location ranges. Thanks. Quote Link to comment Share on other sites More sharing options...
intvnut Posted November 16, 2019 Share Posted November 16, 2019 This might sound dumb, but the most straightforward way to do this is probably: ' Four zeros for each card, up to the max number of cards you want to clear. ZEROS: DATA 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ... DEFINE card_num, count, ZEROS It's inelegant, but it should work. AFAICT, the card_num and count aren't required to be compile-time constants. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.