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

lui instructions issue #94

Open
crystalysj opened this issue Apr 8, 2024 · 3 comments
Open

lui instructions issue #94

crystalysj opened this issue Apr 8, 2024 · 3 comments

Comments

@crystalysj
Copy link

hi,
why I created instructions lui has "-" imm
i changed um_itree_01_force.py
def generate(self, **kargs):
for _ in range(40):
the_instruction = self.pickWeighted(RV_G_instructions)
self.genInstruction(the_instruction)

and the result has
0000000040000838:bfddeb37 LUI x22, -262690

@hanfeng0114
Copy link
Contributor

can't get your idea. Please give more detail first.

@crystalysj
Copy link
Author

i mean why does lui generate a signed immediate number?

@kong-ling-hui
Copy link

i mean why does lui generate a signed immediate number?

u can give a random Immediate number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants