text
stringlengths
1
1.05M
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 003D4C move.w (A1)+, ($a8,A0) [enemy+AA] 003D50 move.w (A1), ($82,A0) [enemy+A8] 003DC2 move.w (A2)+, ($a8,A0) [enemy+AA] 003DC6 move.w (A2)+, D1 [enemy+A8] 003EA6 move.w ($82,A0), D1 [enemy+A8] 003EC0 moveq #$0, D0 [enem...
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *memcpy(void * restrict s1, const void * restrict s2, size_t n) ; ; Copy n chars from s2 to s1, return s1. ; ; =======================================================...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rax push %rbp push %rcx lea addresses_WC_ht+0x170fd, %r15 nop add $8890, %rax mov $0x6162636465666768, %rcx movq %rcx, %xmm0 and $0xffffffffffffffc0, %r15 movaps %xmm0, (%r15) nop nop sub $31633, %rbp pop %rcx pop %rbp pop %rax pop %r15 ret .global s_fau...
;************************************************************************* ; arch/z80/src/z80/z80_saveusercontext.asm ; ; Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. ; Author: Gregory Nutt <gnutt@nuttx.org> ; ; Redistribution and use in source and binary forms, with or without ; modification, are per...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
ori $ra,$ra,0xf sb $0,8($0) mult $3,$3 div $1,$ra addu $1,$1,$4 mflo $1 divu $3,$ra sll $6,$6,6 ori $2,$2,2850 mflo $3 sll $1,$1,8 ori $6,$2,42855 addu $2,$2,$2 ori $4,$1,39754 lb $3,10($0) sll $4,$4,6 lb $4,0($0) sb $4,12($0) mtlo $4 addu $4,$5,$5 sll $4,$2,21 sll $5,$6,11 ori $1,$2,1607 ori $4,$4,63118 addiu $6,$6,-3...
; A019785: Decimal expansion of sqrt(e)/12. ; 1,3,7,3,9,3,4,3,9,2,2,5,0,1,0,6,7,8,9,0,4,0,5,4,2,3,2,3,1,7,8,4,6,9,6,4,3,0,4,4,8,1,3,4,1,7,2,5,8,4,5,6,6,7,6,3,1,2,5,6,6,0,9,3,0,3,3,8,8,4,1,8,4,3,2,8,5,1,3,0,0,7,1,9,3,9,8,0,4,3,3,3,8,0,3,0,5,5,3,5 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $2,$3 add $1,$2 div...
int bar(int i, int j) { return j; }
; A127040: a(n) = binomial(floor((3n+4)/2)),floor(n/2)). ; 1,1,5,6,28,36,165,220,1001,1365,6188,8568,38760,54264,245157,346104,1562275,2220075,10015005,14307150,64512240,92561040,417225900,600805296,2707475148,3910797436,17620076360,25518731280,114955808528,166871334960,751616304549,1093260079344,4923689695575,71745192...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // Resource bind info for ParticlesRO // { // // struct Particle // { // // float2 position; // Offset: 0 // float2 velocity; // Offset: 8 // // } $Elemen...
#include "common.hpp" #include "catch.hpp" #include "RTC/RTCP/FeedbackPsRemb.hpp" #include <cstring> // std::memcmp() using namespace RTC::RTCP; namespace TestFeedbackPsRemb { // RTCP REMB packet. // clang-format off uint8_t buffer[] = { 0x8f, 0xce, 0x00, 0x06, // Type: 206 (Payload Specific), Count: 15 (AFB),...
SECTION code_clib SECTION code_fp_math48 PUBLIC dne EXTERN cm48_sccz80p_dne defc dne = cm48_sccz80p_dne
; A101869: Row 2 of A101866. ; 10,20,26,36,46,52,62,68,78,88,94,104,114,120,130,136,146,156,162,172,178,188,198,204,214,224,230,240,246,256,266,272,282,292,298,308,314,324,334,340,350,356,366,376,382,392,402,408,418,424,434,444,450,460,466,476,486 mov $3,$0 mov $7,$0 add $7,1 lpb $7,1 mov $0,$3 sub $7,1 sub $0,$...
movi r0, 0 movi r1, 4 addi r0, 1 mov r2, r0 and r2, r1 jzi r2, 2 movi r3, 1 ji 7
; A159920: Sums of the antidiagonals of Sundaram's sieve (A159919). ; 4,14,32,60,100,154,224,312,420,550,704,884,1092,1330,1600,1904,2244,2622,3040,3500,4004,4554,5152,5800,6500,7254,8064,8932,9860,10850,11904,13024,14212,15470,16800,18204,19684,21242,22880,24600,26404 add $0,4 mov $1,$0 bin $0,3 sub $0,$1 mul $0,2 ad...
Name: zel_make.asm Type: file Size: 281129 Last-Modified: '2016-05-13T04:25:37Z' SHA-1: D1305DB30408E08C6D282C3C06178136F742EBB2 Description: null
; A273311: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood. ; 1,5,22,62,135,247,408,624,905,1257,1690,2210,2827,3547,4380,5332,6413,7629,8990,10502,12175,14015,16032,18232,20625,2321...
; A013632: Difference between n and the next prime greater than n. ; 2,1,1,2,1,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,6,5,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,6,5,4,3,2,1,8,7,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,14,13,12,11,10,9,8,7,6,5,...
; A192310: 1-sequence of reduction of (3n-1) by x^2 -> x+1. ; 0,5,13,35,77,162,322,621,1167,2153,3913,7028,12500,22053,38641,67311,116661,201302,346006,592685,1012115,1723605,2927953,4962600,8393832,14170757,23882197,40184891,67516637,113283018 mov $1,2 add $1,$0 lpb $0,1 add $1,$0 sub $0,1 mov $2,$1 mov $1,$3...
SECTION code_fp_math32 PUBLIC cm32_sccz80_tan EXTERN cm32_sccz80_fsread1, _m32_tanf cm32_sccz80_tan: call cm32_sccz80_fsread1 jp _m32_tanf
; A131293: Concatenate a(n-2) and a(n-1) to get a(n); start with a(0)=0, a(1)=1, delete the leading zero. Also: concatenate Fibonacci(n) 1's. ; 0,1,1,11,111,11111,11111111,1111111111111,111111111111111111111,1111111111111111111111111111111111,1111111111111111111111111111111111111111111111111111111,111111111111111111111...
/************************************************************************************ Filename : Win32_RoomTiny_Main.cpp Content : First-person view test application for Oculus Rift Created : 18th Dec 2014 Authors : Tom Heath Copyright : Copyright 2012 Oculus, Inc. All Rights reserved. Licen...
#include "Platform.inc" radix decimal GeneralPurposeRegistersRam udata global RA global RAA global RAB global RAC global RAD global RB global RBA global RBB global RBC global RBD global RZ global RZA global RZB RA: RAA res 1 RAB res 1 RAC res 1 RAD res 1 RB: RBA res 1 RBB res 1 RBC res 1 RBD res 1 ...
; ******************************************************* ; * * ; * Delphi Runtime Library * ; * * ; * Copyright (c) 1996,98 Inprise Corporation * ; * * ; ******************************************************* INCLUDE SE.ASM INCLUDE FILEIO.ASM .386 .MODEL FLAT EX...
/**************************************************************************** ** Meta object code from reading C++ file 'MyDelegate.h' ** ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.3) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
PrintNewBikeText: call EnableAutoTextBoxDrawing tx_pre_jump NewBicycleText NewBicycleText: TX_FAR _NewBicycleText db "@" DisplayOakLabLeftPoster: call EnableAutoTextBoxDrawing tx_pre_jump PushStartText PushStartText: TX_FAR _PushStartText db "@" DisplayOakLabRightPoster: call EnableAutoTextBoxDrawing ld h...
#include "toy/gadget/IntToChar.hpp" #if TOY_OPTION_RELEASE #include "toy/Oops.hpp" #else #include "toy/Exception.hpp" #endif namespace toy{ namespace gadget{ char IntToChar(int num) { if ( num>9 || num<0 ) { #if TOY_OPTION_RELEASE toy::Oops(TOY_MARK); return '0'; #else throw toy::Exception(TOY_MARK)...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x150d3, %r8 and $11484, %rbp movb $0x61, (%r8) nop nop nop cmp $11076, %r10 lea addresses_WC_ht+0x18f03, %rsi lea addresses_UC_ht+0x1e470, %rdi clflush (%rsi) nop nop and %r8, %r8 m...
; ************************************************************************************************************ ; ************************************************************************************************************ ; ; Movement code ; ; ******************************************************************...
; A282822: a(n) = (n - 4)*n! for n>=0. ; -4,-3,-4,-6,0,120,1440,15120,161280,1814400,21772800,279417600,3832012800,56043187200,871782912000,14384418048000,251073478656000,4623936565248000,89633231880192000,1824676506132480000,38926432130826240000,868546016919060480000 mov $2,$0 sub $2,4 lpb $0 mul $2,$0 sub $0,1 l...
; CALLER linkage for function pointers PUBLIC open EXTERN open_callee EXTERN ASMDISP_OPEN_CALLEE .open pop hl pop bc pop de push de push bc push hl jp open_callee + ASMDISP_OPEN_CALLEE
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D22 move.l D0, (A4)+ 004D24 move.l D0, (A4)+ 0AAACA move.l (A0), D2 0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, base+6FFE, enem...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
; ; ; ZX Maths Routines ; ; 9/12/02 - Stefano Bodrato ; ; $Id: ifix.asm,v 1.2 2009/06/22 21:44:17 dom Exp $ ; ; Convert fp in FA to a long or an integer (if in tiny mode) ; DEHL keeps the value, CARRY has the overflow bit IF FORzx INCLUDE "zxfp.def" ELSE INCLUDE "81fp.def" ENDIF ...
; A177097: 6*(10^n-5) ; 30,570,5970,59970,599970,5999970,59999970,599999970,5999999970,59999999970,599999999970,5999999999970,59999999999970,599999999999970,5999999999999970,59999999999999970,599999999999999970 add $0,1 mov $1,10 pow $1,$0 sub $1,5 mul $1,6 mov $0,$1
; size_t b_array_insert_n(b_array_t *a, size_t idx, size_t n, int c) SECTION code_clib SECTION code_adt_b_array PUBLIC b_array_insert_n EXTERN asm_b_array_insert_n b_array_insert_n: pop ix pop de ld a,e pop de pop bc pop hl push hl push bc push de push de push ix jp asm_b_...
INCLUDE "hardware.inc" SECTION "Input Vars", WRAM0 curButtons:: DB ; Buttons currently held down newButtons:: DB ; Buttons that changed to pressed in the last frame SECTION "InputCode", ROM0 ; Reads the joypad state ; Sets - A and B to the joypad state ; in the order Down, Up, Left, Right, Start, Select, B, A (from b...
; A178069: a(n) = 12345679 * A001651(n). ; 12345679,24691358,49382716,61728395,86419753,98765432,123456790,135802469,160493827,172839506,197530864,209876543,234567901,246913580,271604938,283950617,308641975,320987654,345679012,358024691,382716049 mul $0,6 mov $1,$0 div $1,4 mul $1,12345679 add $1,12345679
; A286814: Number of matchings in the n-helm graph. ; 2,3,10,29,82,227,618,1661,4418,11651,30506,79389,205522,529635,1359434,3476989,8865026,22538755,57157578,144615709,365127634,920110051,2314564522,5812911741,14576950082,36503608707,91294323178,228049363229,569017421650,1418290058723 mov $1,2 mov $2,$0 mov $3,$0 lpb...
section .data msg db "Hello World!",0xA len equ $-msg section .text global _start _start: mov eax,4 ;syscall for sys_write mov ebx,1 ;file descriptor for standar output [STDOUT] is 1 mov ecx,msg ;adress of string to write to buffer mov edx,len ;len of string to write int 0x80 mov eax,1...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x7b43, %rsi lea addresses_UC_ht+0x8b23, %rdi clflush (%rdi) nop nop nop dec %rbx mov $88, %rcx rep movsl nop nop sub %rbx, %rbx lea addresses_A_ht+0xf743, %r9 clflush (%r9) add...
_grep: 檔案格式 elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 e5 ...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r15 push %r8 push %r9 push %rax push %rdx // Store mov $0x2d460800000001b6, %r8 nop nop nop nop nop xor $50256, %r14 mov $0x5152535455565758, %rax movq %rax, %xmm2 movups %xmm2, (%r8) nop nop dec %rax ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Addressab...
// RUN: mkdir -p %T/Inputs/ // RUN: clang-typegrind %s -- // RUN: sed -i 's/\/\/.*//' %T/../../Output/Inputs/template/template_func_new_inner.cpp // RUN: FileCheck -input-file=%T/../../Output/Inputs/template/template_func_new_inner.cpp %s template<typename T> void creator() { // CHECK: T* ptr = TYPEGRIND_LOG_NEW("{{...
; Elemental types NORMAL EQU $00 FIGHTING EQU $01 FLYING EQU $02 POISON EQU $03 GROUND EQU $04 ROCK EQU $05 TYPELESS EQU $06 BUG EQU $07 DRAGON EQU $08 FIRE EQU $14 WATER EQU $15 GRASS EQU $16 ELECTRIC EQU $17 PSYCHIC EQU $18 ICE EQU $19 GHOST EQU $1A
; ; Getsprite - Picks up a sprite from display with the given size ; by Stefano Bodrato - 2019 ; ; The original putsprite code is by Patrick Davidson (TI 85) ; ; Generic version (just a bit slow) ; ; THIS IS A QUICK PLACEHOLDER, WORKING ONLY ON THE PIXELS REGION (0,0)-(255,255) ; ; ; $Id: w_getsprite.asm $ ; SECTION...
* Set default or given channel V0.4 PUBLIC DOMAIN by Tony Tebby QJUMP * * call parameters : a3 and a5 standard pointers to name table for parameters * : d6 channel number * return parameters : d4 pointer to channel table * : d6 channel number * a0 channel id * section utils * xdef ut_chan defau...
; A048512: a(n) = T(7,n), array T given by A048505. ; 1,65,210,536,1264,2880,6448,14288,31440,68816,149968,325584,704464,1519568,3268560,7012304,15007696,32047056,68288464,145227728,308281296,653262800,1382023120,2919235536,6157238224,12968787920,27279753168,57310969808,120259084240,252060893136,527744106448,1103806595...
; float asinh(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdcciy_asinh_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_asinh, cm48_sdcciyp_m482d cm48_sdcciy_asinh_fastcall: call cm48_sdcciyp_dx2m48 call am48_asinh jp cm48_sdcciyp_m482d
//===-test_clip_default_min_tensorrt.cc-----------------------------------------------------------===// // // Copyright (C) 2019-2020 Alibaba Group Holding Limited. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain...
; A143976: Rectangular array R by antidiagonals: label each unit square in the first quadrant lattice by its northeast vertex (x,y) and mark squares having x+y=1(mod 3); then R(m,n) is the number of UNmarked squares in the rectangle [0,m]x[0,n]. ; 1,2,2,2,3,2,3,4,4,3,4,6,6,6,4,4,7,8,8,7,4,5,8,10,11,10,8,5,6,10,12,14,14...
10 ORG 100H 20 JP PB00 30REGOUT EQU 0BD03H 40RPTCHR EQU 0BFEEH 50GPF EQU 0BFD0H 60AOUT EQU 0BD09H 70PUTSTR EQU 0BFF1H 80WAITK EQU 0BFCDH 100PB00: CALL CLS 110 LD HL,TXT00 120 CALL STRLN 130 LD DE,0 140 CALL PUTSTR 150 LD B,96 160 LD HL,BUFF00 170 LD DE,PBLM1 180 CALL ASC2H 190 LD HL,BUFF00 200 LD B,48 210 LD DE,0100H...
.section #gf100_builtin_code // DIV U32 // // UNR recurrence (q = a / b): // look for z such that 2^32 - b <= b * z < 2^32 // then q - 1 <= (a * z) / 2^32 <= q // // INPUT: $r0: dividend, $r1: divisor // OUTPUT: $r0: result, $r1: modulus // CLOBBER: $r2 - $r3, $p0 - $p1 // SIZE: 22 / 14 * 8 bytes // gf100_div_u32...
;/* ; * FreeRTOS Kernel V10.4.4 ; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * SPDX-License-Identifier: MIT ; * ; * Permission is hereby granted, free of charge, to any person obtaining a copy of ; * this software and associated documentation files (the "Software"), to dea...
#make_bin# ;set loading address, .bin file will be loaded to this address: #LOAD_SEGMENT=FFFFh# #LOAD_OFFSET=0000h# ; set entry point: #CS=0000h# ; same as loading segment #IP=0000h# ; same as loading offset ; set segment registers #DS=0000h# ; same as loading segment #ES=0000h# ; same as loading segment ; set stac...
; A211381: Number of pairs of intersecting diagonals in the exterior of a regular n-gon. ; 0,0,0,0,7,24,63,130,242,408,650,980,1425,2000,2737,3654,4788,6160,7812,9768,12075,14760,17875,21450,25542,30184,35438,41340,47957,55328,63525,72590,82600,93600,105672,118864,133263,148920,165927,184338,204250,225720 mov $13,$0 m...
ifdef USEBASE INCLUDE "inc-base.asm" else INCNES "base.nes" endif ; ignore the base while generating the patch. CLEARPATCH ; macros SEEK EQU SEEKABS SKIP EQU SKIPREL MACRO SUPPRESS ENUM $ ENDM ENDSUPPRESS EQU ENDE MACRO SKIPTO pos if ($ >= 0) SKIP pos - $ ; just to be safe. ...
;----------------------------------------------- ; From: http://www.z80st.es/downloads/code/ (author: Konamiman) ; GETSLOT: constructs the SLOT value to then call ENSALT ; input: ; a: slot ; output: ; a: value for ENSALT GETSLOT: and #03 ; Proteccion, nos aseguramos de que el valor esta en 0-3 ...
/********************************************************************* * * Sms command * ********************************************************************* * FileName: SmsCmd_GSM.cpp * Revision: 1.0.0 * Date: 01/10/2016 * * Revision: 1.1.0 * ...
//================================================================================================= /*! // \file src/mathtest/smatsmatsub/LCaMCb.cpp // \brief Source file for the LCaMCb sparse matrix/sparse matrix subtraction math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This f...
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/execution/operator/order/physical_order.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/types/chunk_collection...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A339597: When 2*n+1 first appears in A086799. ; 1,2,5,4,9,10,13,8,17,18,21,20,25,26,29,16,33,34,37,36,41,42,45,40,49,50,53,52,57,58,61,32,65,66,69,68,73,74,77,72,81,82,85,84,89,90,93,80,97,98,101,100,105,106,109,104,113,114,117,116,121,122,125,64,129,130,133,132,137,138,141,136,145,146,149,148,153,154,157,144,161,162...
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: asmoperand.asm ; Purpose: Decode operand ; Created: 15th March 2021 ; Reviewed: 6th April 2021 ; Author: ...
1000:0000 Proc3: 1000:0000 cd 20 INT 20h ;Exit 1000:0079 Data37: 1000:0100 e4 40 Main: IN AL, 40h 1000:0102 86 e0 XCHG AH, AL 1000:0104 e4 40 I...
; A001998: Bending a piece of wire of length n+1; walks of length n+1 on a tetrahedron; also non-branched catafusenes with n+2 condensed hexagons. ; 1,2,4,10,25,70,196,574,1681,5002,14884,44530,133225,399310,1196836,3589414,10764961,32291602,96864964,290585050,871725625,2615147350,7845353476,23535971854,70607649841,211...
; Object Mappings Subtype Frame Arttile dbglistobj Obj_Ring, Map_Ring, 0, 0, make_art_tile($6BC,1,1) dbglistobj Obj_Monitor, Map_Monitor, 6, 0, make_art_tile($4C4,0,0) dbglistobj Obj_PathSwap, Map_PathSwap, 9, 1, make_art_tile($6BC,1,0) dbglistobj Obj_PathSwap, Map_PathSwap, ...
; A173116: a(n) = sinh(2*arcsinh(n))^2 = 4*n^2*(n^2 + 1). ; 0,8,80,360,1088,2600,5328,9800,16640,26568,40400,59048,83520,114920,154448,203400,263168,335240,421200,522728,641600,779688,938960,1121480,1329408,1565000,1830608,2128680,2461760,2832488,3243600,3697928,4198400,4748040,5349968,6007400,6723648,7502120,8346320,9...
#ifndef SYSTEM_FILE_HPP #define SYSTEM_FILE_HPP #include <vector> #include <string> #include "OE/System/IOStream.hpp" namespace OrbitEngine { namespace System { class File { public: static IOStream* Open(const std::string& path, AccessMode accessMode = AccessMode::READ); static void Close(IOStream* stream); ...
/** \file "main/prsim.hh" Interface header for prsim module. $Id: prsim.hh,v 1.5 2010/08/30 23:51:49 fang Exp $ */ #ifndef __HAC_MAIN_PRSIM_H__ #define __HAC_MAIN_PRSIM_H__ #include "main/hackt_fwd.hh" #include "main/options_modifier.hh" namespace HAC { class prsim_options; //=================================...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
_mkdir: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
; allows for installation of expansion devices that contain extra OS subroutines ROM_INIT: CALL PROBE_HARDWARE LD A, (RS_HOKVLD) BIT 0, A JR NZ, INJECT_HOOK_HANDLERS ; THERE IS NO EXTBIO INSTALL - SO WE HAVE TO INITIALISE LD A, 1 LD (RS_HOKVLD), A LD A, $C9 LD (RS_MEXBIH), A ; SET OPERATION CODE OF 'RET' ...
; void *heap_alloc_fixed(void *heap, void *p, size_t size) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC heap_alloc_fixed_callee EXTERN asm_heap_alloc_fixed heap_alloc_fixed_callee: pop...
; A071038: Triangle read by rows giving successive states of cellular automaton generated by "Rule 182". ; Submitted by Jon Maiga ; 1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,...
; int isunordered(real-floating x, real-floating y) SECTION code_clib SECTION code_fp_math48 PUBLIC am48_isunordered EXTERN error_znc ; doubles are always ordered in this library ; ; return HL = 0 with carry reset (false) defc am48_isunordered = error_znc
; void in_mouse_amx_callee(uint8_t *buttons, uint16_t *x, uint16_t *y) SECTION code_input PUBLIC in_mouse_amx_callee EXTERN asm_in_mouse_amx in_mouse_amx_callee: call asm_in_mouse_amx pop ix pop hl ld (hl),c inc hl ld (hl),b pop hl ld (hl),e inc hl ld (hl),d pop hl ...
; A034262: a(n) = n^3 + n. ; 0,2,10,30,68,130,222,350,520,738,1010,1342,1740,2210,2758,3390,4112,4930,5850,6878,8020,9282,10670,12190,13848,15650,17602,19710,21980,24418,27030,29822,32800,35970,39338,42910,46692,50690,54910,59358,64040,68962,74130,79550,85228,91170,97382,103870,110640,117698,125050,132702,140660,148930...
; vim:filetype=nasm ts=8 ; libFLAC - Free Lossless Audio Codec library ; Copyright (C) 2001-2009 Josh Coalson ; Copyright (C) 2011-2016 Xiph.Org Foundation ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; ;...
; Glidix bootloader (gxboot) ; ; Copyright (c) 2014-2017, Madd Games. ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; * Redistributions of source code must retain the above copyright notice,...
; Assembly for testset-bytecode.bas ; compiled with mcbasic ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of console ; ...
; A321295: a(n) = n * sigma_n(n). ; 1,10,84,1092,15630,284700,5764808,134744072,3486961557,100097666500,3138428376732,107019534520152,3937376385699302,155577590681061500,6568408813691796120,295152408847700721680,14063084452067724991026,708238048886859220660710,37589973457545958193355620,2097154000001929338886339560,122...
; A168090: a(n) = (1 - (n mod 3) mod 2)*2^(floor(n/3) + (n mod 3)/2 ). ; 1,0,2,2,0,4,4,0,8,8,0,16,16,0,32,32,0,64,64,0,128,128,0,256,256,0,512,512,0,1024,1024,0,2048,2048,0,4096,4096,0,8192,8192,0,16384,16384,0,32768,32768,0,65536,65536,0,131072,131072,0,262144,262144,0,524288,524288,0,1048576,1048576,0,2097152,2097152...
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/dns/dns_config_service_linux.h" #include <netdb.h> #include <netinet/in.h> #include <resolv.h> #include <sys/socket.h> #include <sys/types....
; A000846: C(3n,n) - C(2n,n). ; 0,1,9,64,425,2751,17640,112848,722601,4638205,29860259,192831288,1248973544,8112024844,52820112480,344712308064,2254247833257,14768735480505,96917273443305,636948624057900,4191706659276675,27618897144488595,182181063882796680,1202928742402461360,7950229414485345000,52588420730542455876,3...
.size 8000 .text@48 ld a, ff ldff(45), a jp lstatint .text@100 jp lbegin .text@150 lbegin: ld a, ff ldff(45), a ld b, 97 call lwaitly_b ld a, 40 ldff(41), a ld a, 02 ldff(ff), a xor a, a ldff(0f), a ei ld a, b inc a inc a ldff(45), a ld c, 41 .text@1000 lstatint: xor a, a ldff(c), a ldff(0f),...
; A137232: a(n) = -a(n-1) + 7*a(n-2) + 3*a(n-3) with a(0) = a(1) = 0, a(2) = 1. ; Submitted by Christian Krause ; 0,0,1,-1,8,-12,65,-125,544,-1224,4657,-11593,40520,-107700,356561,-988901,3161728,-9014352,28179745,-81795025,252010184,-740036124,2258722337,-6682944653,20273892640,-60278338200,182146752721,-543273442201,...
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
# RAGGRUPPA TUTTE LE LETTERE ALL'INIZIO E GLI ALTRI CARATTERI ALLA FINE .data richiesta: .asciiz "inserire una stringa (max 100 caratteri)\n" stringa: .space 31 .text li $v0,4 la $a0,richiesta syscall li $v0,8 la $a0,stringa la $a1,30 syscall len: lb $s0,stringa($s1) beq $s0,10,main addi $s1,$s1,1 addi $s2,$s2,1 ...
; ; Protected Mode ; ; clear.asm ; [bits 32] ; Clear the VGA memory. (AKA write blank spaces to every character slot) ; This function takes no arguments clear_protected: ; The pusha command stores the values of all ; registers so we don't have to worry about them pusha ; Set up constants mov ebx,...
version https://git-lfs.github.com/spec/v1 oid sha256:926f7099d83b4b8edbfad93ed07566b6adcc0de204bb44e03ba3b59ca43f40d1 size 9717
; A053589: Greatest primorial number (A002110) which divides n. ; 1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,30,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,30,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,6,1,2,1,2,1,30,1,2,1,2,1,6,1,2,1,2 add $0,1 mov $1,1 mov $2,2 mov $3,$0 mov $4,$0 lpb...
// Given an array calculate the sum of array /* Input details :- N denote the size of a array Example :- Input :- N = 5 arr = [10, 20, 30, 40, 50] Output :- 150 Input :- N = 1 arr = [20] Output :- 20 */ #include <iostream> using namespace std; int Sum_of_n_number(int *arr, int n) { // Base ...
; A213243: Number of nonzero elements in GF(2^n) that are cubes. ; 1,1,7,5,31,21,127,85,511,341,2047,1365,8191,5461,32767,21845,131071,87381,524287,349525,2097151,1398101,8388607,5592405,33554431,22369621,134217727,89478485,536870911,357913941,2147483647,1431655765,8589934591,5726623061,34359738367,22906492245,13743895...
SECTION code_fp_math48 PUBLIC am48_dpop am48_dpop: ; pop AC' from stack ; ; enter : stack = double, ret ; ; exit : AC'= double ; ; uses : af, bc', de', hl' exx pop af pop hl pop de pop bc push af exx ret
; ; ZX 81 specific routines ; by Stefano Bodrato, Oct 2007 ; ; Copy a variable from basic ; ; int __CALLEE__ zx_getstr_callee(char variable, char *value); ; ; ; $Id: zx_getstr_callee.asm,v 1.1 2008/07/25 15:31:25 stefano Exp $ ; XLIB zx_getstr_callee XDEF ASMDISP_ZX_GETSTR_CALLEE LIB zx81toasc zx_getstr_callee: ...
; A051063: 27*n+9 or 27*n+18. ; 9,18,36,45,63,72,90,99,117,126,144,153,171,180,198,207,225,234,252,261,279,288,306,315,333,342,360,369,387,396,414,423,441,450,468,477,495,504,522,531,549,558,576,585,603,612,630,639,657,666 mul $0,6 div $0,4 mul $0,9 add $0,9
/*! \file token_bucket.inl \brief Token bucket rate limit algorithm inline implementation \author Ivan Shynkarenka \date 07.12.2016 \copyright MIT License */ namespace CppCommon { inline TokenBucket::TokenBucket(uint64_t rate, uint64_t burst) : _time(0), _time_per_token(1000000000 / rate...