0

I know in z3 we can extract some bits from one existing bitvec, but right now I have two bitvecs and I want to make a new bitvec based on these two, how can I implement this ?

For example,

ah = bitvec("ah", 8)
al = bitvec("al", 8)

now I would like to have ax which have ah as its higher 8 bits and al as its lower 8 bits.

Thanks in advance!

Pounce
  • 25
  • 4

1 Answers1

0

The Concat function should do the job.

Christoph Wintersteiger
  • 8,234
  • 1
  • 16
  • 30