tccasm: allow one-line prefix+op things like "rep stosb"

This commit is contained in:
Joe Soroka
2011-02-01 15:37:58 -08:00
parent a25325e9be
commit 87d84b7cb8
4 changed files with 68 additions and 2 deletions

View File

@ -478,6 +478,24 @@ int $0x10
repz
repne
repnz
nop
lock ;negl (%eax)
wait ;pushf
rep ;stosb
repe ;lodsb
repz ;cmpsb
repne;movsb
repnz;outsb
/* handle one-line prefix + ops */
lock negl (%eax)
wait pushf
rep stosb
repe lodsb
repz cmpsb
repne movsb
repnz outsb
invd
wbinvd