我正在使用WebKitBrowser控件处理一个简单的应用程序。每次更新控件的DocumentText时,如何让控件自动滚动到底部?我尝试了这段代码,但它没有工作
FreqCalcAndTransmit:
rcall RangeCheck ;Range Check takes care of changing
ldi r17, 0xFF ; Step sizes also
cpsne r23, r17
ret
rcall VCODetermine
CLR DIVIDENDREG0,
lds DIVIDENDREG1, hexResult0
lds DIVIDENDREG2, hexResult1 ;Divide the freq by the StepSize
LDS DIVIDENDREG3, hexResult2
lds DIVISORREG0, STEPVarHI
lds DIVISORREG1, STEPVar
rcall UDVD32
CLR r17
cpsne REMAINDERREG0, r17 ;Make sure the freq is divisible by
rjmp FreqDivisible ; the step size
ldi r23, 0xFF
ret