www.vxitech.com

Example 1

OV

Divide

 

 

 

 

(decimal)

by 16

 

MSB

LSB

 

25

25 / 16

=

1

w/ 9 remaining Divide the decimal value by 16 to get

 

 

 

 

 

the MSB and the LSB.

 

 

=

0001

1001

The 1 is the MSB, and the remainder of

 

 

 

 

 

9 is the LSB.

=1

S3

2

3

4

5

 

 

 

 

 

 

1

 

 

 

0

 

 

 

F

 

 

 

E

 

 

 

D C

9

6

 

 

7

 

8

 

A

9

B

 

 

 

Convert to hexadecimal. Set the back switch to 1 and the front switch to 9.

S2

 

2

3

4

5

6

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

7

 

 

 

 

 

 

 

 

 

8

0

 

 

 

 

 

9

F

 

 

 

 

A

 

E

 

 

B

 

 

 

 

 

 

 

 

D C

 

 

 

 

 

 

 

FIGURE 2-2: OFFSET VALUE EXAMPLE 1

Here is another way of looking at the conversion: OV = (S3 x 16) + S2 OV = (1 x 16) + 9 OV = 16 + 9

OV = 25

The base address is then determined by using the following formula:

A32 Base Address = Offset Value * 0x1000000 (or 16,777,216)

In this case:

A32 Base Address = 0x19 * 0x1000000 (or 16,777,216)

A32 Base Address = 0x19000000

SVM2608 Preparation for Use

25

Page 25
Image 25
VXI SVM2608 user manual Example, Divide Decimal, Msb Lsb