Netgear XM128 QIG - Quick Install Guide - Page 117

Table D-1, Table D-2

Page 117 highlights

Reference Guide for the Model XM128 ISDN Digital Modem 2. Use Table D-1 to convert the decimal bit value to binary. Table D-1. Binary conversion table Bit Binary value 0 00000001 1 00000010 2 00000100 3 00001000 4 00010000 5 00100000 6 01000000 7 10000000 Decimal value 1 2 4 8 16 32 64 128 Hexadecimal value $01 $02 $04 $08 $10 $20 $40 $80 3. Use Table D-2 to perform a logic OR operation with the value to set bit 3 to 1 (binary). Table D-2. Setting bit 3 Operation OR NOT AND Example 1 Binary 10001000 00001000 10001000 00001000 11110111 10001000 10000000 Decimal Hexadecimal Example 2 Binary 136 $88 01000000 8 $08 136 $88 00001000 01001000 8 $08 247 $F7 136 $88 00001000 11110111 01000000 128 $80 01000000 Decimal Hexadecimal 64 $40 8 $08 72 $48 8 $08 247 $F7 64 $40 64 $40 4. Use Table D-2 to invert the value using a logic NOT operation and then perform a logic AND operation to set bit 3 to 0 (binary). 5. Using the resulting decimal value, type the ATS38=n command to set the register. Status Registers and Result Codes D-3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156

Reference Guide for the Model XM128 ISDN Digital Modem
Status Registers and Result Codes
D-3
2.
Use
Table D-1
to convert the decimal bit value to binary.
3.
Use
Table D-2
to perform a logic OR operation with the value to set bit 3 to 1 (binary).
4.
Use
Table D-2
to invert the value using a logic NOT operation and then perform a logic
AND operation to set bit 3 to 0 (binary).
5.
Using the resulting decimal value, type the ATS38=n command to set the register.
Table D-1.
Binary conversion table
Bit
Binary
value
Decimal
value
Hexadecimal
value
0
00000001
1
$01
1
00000010
2
$02
2
00000100
4
$04
3
00001000
8
$08
4
00010000
16
$10
5
00100000
32
$20
6
01000000
64
$40
7
10000000
128
$80
Table D-2.
Setting bit 3
Operation
Example 1
Binary
Decimal
Hexadecimal
Example 2
Binary
Decimal
Hexadecimal
OR
10001000
136
$88
01000000
64
$40
00001000
8
$08
00001000
8
$08
10001000
136
$88
01001000
72
$48
NOT
00001000
8
$08
00001000
8
$08
11110111
247
$F7
11110111
247
$F7
AND
10001000
136
$88
01000000
64
$40
10000000
128
$80
01000000
64
$40