fork download
  1. function GetBit(x : integer; y : byte) : byte;
  2. asm
  3. mov EAX, X
  4. mov CL, Y
  5. shr EAX, CL
  6. jc @@L1
  7. jmp @@L2
  8. @@L1:
  9. mov EBX,1
  10. mov EAX, EBX
  11. RET
  12. @@L2:
  13. mov EBX, 0
  14. mov EAX, EBX
  15. end;
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: parser: instruction expected
stdout
Standard output is empty