Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temp=0, reserve #59

Closed
tomhea opened this issue May 5, 2021 · 2 comments
Closed

temp=0, reserve #59

tomhea opened this issue May 5, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tomhea
Copy link
Owner

tomhea commented May 5, 2021

;F ops should be assembled to 0;F.

This makes a zero-initialized memory to be simply created by 0-bits.

That's because 128 zero bits will create a zero bit_var in flip_jump.

The .reserve n op will create a segment with n 0-bits.
Maybe .org addr op for starting a segment in this address.

And maybe: .segment .end for each segment?
allowing user to "allocate" bits as an empty segment.

That means to also update blm to support "empty segments", as segments with size, full of zeros.

@tomhea tomhea created this issue from a note in Making it work! (To do) May 5, 2021
@tomhea tomhea moved this from To do to In progress in Making it work! May 14, 2021
@tomhea
Copy link
Owner Author

tomhea commented May 14, 2021

temp=0 implemented.

@tomhea tomhea closed this as completed May 14, 2021
@tomhea tomhea reopened this May 14, 2021
@tomhea
Copy link
Owner Author

tomhea commented May 18, 2021

.segment X - starts a segment at address X.

  • all previes wflips will happen right before the start of this new segment.
  • implicit start of segment at address 0, implicit end of last segment at the end of the code.
    .reserve X - reserves X 0-bits at this address.
  • reserve - sets the segment length higher than the data length.

@tomhea tomhea closed this as completed May 18, 2021
@tomhea tomhea moved this from In progress to Done in Making it work! May 18, 2021
@tomhea tomhea added the enhancement New feature or request label Sep 18, 2023
@tomhea tomhea self-assigned this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant