Regs

new topic     » goto parent     » topic index » view thread      » older message » newer message

>include machine.e

>sequence reg_list
>sequence al
>reg_list =3D repeat(0,10)
>reg_list[REG_AX] =3D #0200
>reg_list =3D dos_interrupt(#16, reg_list)
>al =3D and_bits(reg_list[REG_AX], ##00FF)  --- Error is this line

why 2 times ##? maybe that causes the error; haven't tried it out, tho.
and, maybe even better: al shouldn't be a sequence but an atom or integer=
.

Ad

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu