Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DIVB (0.03 sec)

  1. src/cmd/asm/internal/asm/testdata/amd64.s

    TEXT	foo(SB), DUPOK|NOSPLIT, $0
    
    // LTYPE1 nonrem	{ outcode($1, &$2); }
    	NEGQ	R11
    	NEGQ	4(R11)
    	NEGQ	foo+4(SB)
    
    // LTYPE2 rimnon	{ outcode($1, &$2); }
    	INT	$4
    	DIVB	R11
    	DIVB	4(R11)
    	DIVB	foo+4(SB)
    
    // LTYPE3 rimrem	{ outcode($1, &$2); }
    	SUBQ $4, DI
    	SUBQ R11, DI
    	SUBQ 4(R11), DI
    	SUBQ foo+4(SB), DI
    	SUBQ $4, 8(R12)
    	SUBQ R11, 8(R12)
    	SUBQ R11, foo+4(SB)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/386.s

    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB), DUPOK|NOSPLIT, $0
    
    // LTYPE1 nonrem	{ outcode(int($1), &$2); }
    	SETCC	AX
    	SETCC	foo+4(SB)
    
    // LTYPE2 rimnon	{ outcode(int($1), &$2); }
    	DIVB	AX
    	DIVB	foo+4(SB)
    	PUSHL	$foo+4(SB)
    	POPL		AX
    
    // LTYPE3 rimrem	{ outcode(int($1), &$2); }
    	SUBB	$1, AX
    	SUBB	$1, foo+4(SB)
    	SUBB	BX, AX
    	SUBB	BX, foo+4(SB)
    
    // LTYPE4 remrim	{ outcode(int($1), &$2); }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top