/* div.c - div file for stdlib */
/* Copyright 1992-2001 Wind River Systems, Inc. */
/*
modification history
--------------------
01g,25sep01,gls fixed div_r to check for negative numerator (SPR #
#objdump: -dr
#name: div
# Test the div macro.
.*: +file format .*mips.*
No symbols in .*
Disassembly of section .text:
0+0000 div \$zero,\$a0,\$a1
0+0004 div \$zero,\$a0,\$a1
0+0008 bnez \$a1,0+00
# Source file used to test the div macro.
div $0,$4,$5
div $4,$5
div $4,$5,$6
div $4,1
div $4,$5,1
div $4,-1
div $4,$5,-1
div $4,2
div $4,$5,2
div $4,0x8000
div $4,$5,0x8000
div $4,-0x80
/* div.c - div file for stdlib */
/* Copyright 1992-2001 Wind River Systems, Inc. */
/*
modification history
--------------------
01g,25sep01,gls fixed div_r to check for negative numerator (SPR #
# 1 "div.m"
# 1 "/usr/include/hard_reg.h"
; Standard Hardware Register Definitions for Use with Assembler
; version 7.00
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~